Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-ipauth

How to install django-ipauth

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-ipauth
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2
0.4.1Never BuiltWhy not?
0.2 Available View build log
0.1 Available View build log
Windows (64-bit)
0.2
0.4.1Never BuiltWhy not?
0.2 Available View build log
0.1 Available View build log
Mac OS X (10.5+)
0.2
0.4.1Never BuiltWhy not?
0.2 Available View build log
0.1 Available View build log
Linux (32-bit)
0.3
0.4.1Never BuiltWhy not?
0.3 Available View build log
0.2 Available View build log
0.1 Available View build log
Linux (64-bit)
0.4.1 Available View build log
0.3 Available View build log
0.2 Available View build log
0.1 Available View build log
 
Author
Dependencies
Lastest release
version 0.4.1 on Jan 9th, 2014

Introduction

IP based authentication for Django. IP ranges are specified and tied to a user account.

Installation

  • Install the django_ipauth package into your path either using buildout, easy_install or pip.
  • Make the following changes to your settings.py * Add 'ipauth.backend.RangeBackend' to your AUTHENTICATION_BACKENDS * Add ipauth to your INSTALLED_APPS * If it isn't already, add django.contrib.auth to your INSTALLED_APPS
  • Change your login url to use the ipauth.views.login view.
  • Run manage.py syncdb

Using

If you are using the contrib.admin package from Django, you should have a new section in your admin site called Ipauth where you can add Ranges.

0.4.1 (2012/12/03)

  • Added logging to backend and login view

0.4 (2012/11/27)

  • Fixed validation bugs in Range
  • Made range collision validation errors more verbose

0.3 (2012/10/22)

  • Fixed a validation bug for IPAddressFormField

0.2 (2011/06/23)

  • Made the upper end of the range optional
  • Fixed a bug in the Range model clean method if upper is null

0.1 (2011/06/17)

  • IPAddressFormField for inputting IP Addresses
  • IPAddressModelField for storing IP addresses as integers (so math works)
  • Range Model for storing IP Ranges tied to a user account
  • Range Authentication backend
  • A login view wrapper that attempts to login via IP first

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.