Djipsecure is a Django app which helps to secure requests with only allowed IPs.
Add "polls" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'djipsecure', ]
Run
python manage.py migrate
to create the djipsecure models.Start the development server and visit http://127.0.0.1:8000/admin/
Visit http://127.0.0.1:8000/admin/djipsecure/useripaddress/ to allow user IPs.