Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Django admin restriction

Project description

# Restrict admin django cms

django-adminrestrict-CDSP enables you to block access for django 1.8 or more (work with django CMS) unless requests come from specific IP addresses.


pip install django-adminrestrict-CDSP


Add the apps to


Next, install the FailedLoginMiddleware middleware:

Add in your :
If you are using Django CMS, you can use CMS_INTERNAL_IPS = […] If you are using only Django, you have to use ALLOWED_ADMIN_IPS = […]

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-adminrestrict-CDSP-1.0.3.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Mar 21, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page