Skip to main content

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

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

Supported by

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