Django app + middleware to restrict access to all/sections of app by client IP ranges
https://github.com/muccg/django-iprestrict.git
stable