{ "info": { "author": "Alexandre Chevallier (fork) Robert Romano (original author)", "author_email": "alexandre.chevallier@sciencespo.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Internet :: Log Analysis", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", "Topic :: Security", "Topic :: System :: Logging" ], "description": "# Restrict admin django cms\n\ndjango-adminrestrict-CDSP enables you to block access for django 1.8 or more (work with django CMS) unless requests come from specific IP addresses.\n\n#Installation\n\n`pip install django-adminrestrict-CDSP`\n\n#Configuration\n\nAdd the apps to ``settings.py``::\n\n INSTALLED_APPS = (\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.sites',\n ...\n 'restrictadmindjango',\n ...\n )\n\nNext, install the ``FailedLoginMiddleware`` middleware::\n\n MIDDLEWARE_CLASSES = (\n 'restrict_admin_django_cms.middleware.RestrictAdminDjangoCMSMiddleware'\n )\n\nAdd in your settings.py :\n If you are using Django CMS, you can use `CMS_INTERNAL_IPS = [...]`\n If you are using only Django, you have to use `ALLOWED_ADMIN_IPS = [...]`\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AChevallier/django-adminrestrict", "keywords": "authentication", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-adminrestrict-CDSP", "package_url": "https://pypi.org/project/django-adminrestrict-CDSP/", "platform": "", "project_url": "https://pypi.org/project/django-adminrestrict-CDSP/", "project_urls": { "Homepage": "https://github.com/AChevallier/django-adminrestrict" }, "release_url": "https://pypi.org/project/django-adminrestrict-CDSP/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "Django admin restriction", "version": "1.0.3" }, "last_serial": 2720643, "releases": { "1.0.3": [ { "comment_text": "", "digests": { "md5": "970773a971757c2b69b3cbaad1a53108", "sha256": "2f96d4a8bb7c521d1f5cca7b1e163803b087af16ed4b63012864a9693800b91c" }, "downloads": -1, "filename": "django-adminrestrict-CDSP-1.0.3.tar.gz", "has_sig": false, "md5_digest": "970773a971757c2b69b3cbaad1a53108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3512, "upload_time": "2017-03-21T15:03:13", "url": "https://files.pythonhosted.org/packages/94/de/d408cac0834b481b2cd72f7c502a968f18c23053e6c77fd4fcfe14a92277/django-adminrestrict-CDSP-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "970773a971757c2b69b3cbaad1a53108", "sha256": "2f96d4a8bb7c521d1f5cca7b1e163803b087af16ed4b63012864a9693800b91c" }, "downloads": -1, "filename": "django-adminrestrict-CDSP-1.0.3.tar.gz", "has_sig": false, "md5_digest": "970773a971757c2b69b3cbaad1a53108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3512, "upload_time": "2017-03-21T15:03:13", "url": "https://files.pythonhosted.org/packages/94/de/d408cac0834b481b2cd72f7c502a968f18c23053e6c77fd4fcfe14a92277/django-adminrestrict-CDSP-1.0.3.tar.gz" } ] }