Metadata-Version: 2.1
Name: django-admin-honeypot-blag
Version: 1.2.0
Summary: A fake Django admin login screen to notify admins of attempted unauthorized access.
Home-page: https://github.com/blag/django-admin-honeypot
Download-URL: https://github.com/blag/django-admin-honeypot/tarball/v1.2.0
Author: Derek Payton
Author-email: derek.payton@gmail.com
Maintainer: blag
Maintainer-email: blag@users.noreply.github.com
License: MIT
Keywords: django admin honeypot trap
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django :: 3.1
Classifier: Framework :: Django :: 3.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.6
License-File: LICENSE
Requires-Dist: django >=2.2
Requires-Dist: django-ipware
Provides-Extra: dev
Requires-Dist: twine ; extra == 'dev'
Provides-Extra: tests
Requires-Dist: pytest ; extra == 'tests'
Requires-Dist: pytest-cov ; extra == 'tests'
Requires-Dist: pytest-django ; extra == 'tests'
Requires-Dist: pytest-flake8 ; extra == 'tests'

=====================
django-admin-honeypot
=====================

.. image:: https://img.shields.io/pypi/v/django-admin-honeypot-blag.svg
   :target: https://pypi.python.org/pypi/django-admin-honeypot-blag/
   :alt: pypi version

.. image:: https://pepy.tech/badge/django-admin-honeypot-blag/
   :target: https://pepy.tech/project/django-admin-honeypot-blag/
   :alt: pypi downloads


**django-admin-honeypot** is a fake Django admin login screen to log and notify
admins of attempted unauthorized access. This app was inspired by discussion
in and around Paul McMillan's security talk at DjangoCon 2011.

* **Original Author**: `Derek Payton <http://dmpayton.com/>`_
* **Version**: 1.2.0
* **License**: MIT

Documentation
=============

http://django-admin-honeypot.readthedocs.io

tl;dr
-----

* Install django-admin-honeypot-blag from PyPI::

        pip install django-admin-honeypot-blag

* Add ``admin_honeypot`` to ``INSTALLED_APPS``
* Update your urls.py:

    ::

        urlpatterns = [
            ...
            path('admin/', include('admin_honeypot.urls', namespace='admin_honeypot')),
            path('secret/', admin.site.urls),
        ]

* Run ``python manage.py migrate``

NOTE: replace ``secret`` in the url above with your own secret url prefix
