Metadata-Version: 1.1
Name: django-adminrestrict-CDSP
Version: 1.0.3
Summary: Django admin restriction
Home-page: https://github.com/AChevallier/django-adminrestrict
Author: Alexandre Chevallier (fork) Robert Romano (original author)
Author-email: alexandre.chevallier@sciencespo.fr
License: MIT
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.
        
        #Installation
        
        `pip install django-adminrestrict-CDSP`
        
        #Configuration
        
        Add the apps to ``settings.py``::
        
            INSTALLED_APPS = (
                'django.contrib.admin',
                'django.contrib.auth',
                'django.contrib.contenttypes',
                'django.contrib.sessions',
                'django.contrib.sites',
                ...
                'restrictadmindjango',
                ...
            )
        
        Next, install the ``FailedLoginMiddleware`` middleware::
        
            MIDDLEWARE_CLASSES = (
                'restrict_admin_django_cms.middleware.RestrictAdminDjangoCMSMiddleware'
            )
        
        Add in your settings.py :
            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  = [...]`
        
Keywords: authentication,django,security
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: Log Analysis
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
Classifier: Topic :: Security
Classifier: Topic :: System :: Logging
