skip to navigation
skip to content

Not Logged In

django-restrictip 1.0.1

An ip blocker by regexp and ip range for Django apps.

django-restrictip
=============

An ip blocker by regexp and ip range for Django apps.


Usage
=====


1. Place 'restrictip' in the INSTALLED_APPS tuple of your settings.py file like so:

INSTALLED_APPS = (
...
'restrictip',
...
)


2. Place 'restrictip.middleware.RescrictIpMiddleware' in the MIDDLEWARE_CLASSES
tuple of your settings.py file like so:

MIDDLEWARE_CLASSES = (
...
'restrictip.middleware.RescrictIpMiddleware',
...
)

3. Create tables:
$ python manage.py syncdb

4. Edit rules in the Django admin  
File Type Py Version Uploaded on Size
django-restrictip-1.0.1.tar.gz (md5) Source 2014-01-13 3KB
  • Downloads (All Versions):
  • 10 downloads in the last day
  • 35 downloads in the last week
  • 138 downloads in the last month