django-admin-honeypot 0.2.5

A fake Django admin login screen
django-admin-honeypot is a Django app that provides a fake Django admin login page that logs all attempts to login in the database. The purpose is to give administrators some insight into who is attempting to gain unauthorized access to their Django-powered website.

Installation

django-admin-honeypot can be installed in any number of the usual ways:

```
easy_install django-admin-honeypot
```

```
pip install django-admin-honeypot
```

```
pip install -e git+git://github.com/dmpayton/django-admin-honeypot.git#egg=django-admin-honeypot
```

```
git clone git://github.com/dmpayton/django-admin-honeypot.git
cd django-admin-honeypot
python setup.py install
```


etc...

Usage

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

    ```
    urlpatterns = patterns(''
        ...
        url(r'^admin/', include('admin_honeypot.urls')),
        url(r'^secret/', include(admin.site.urls)),
    )
    ```


Signals

`admin_honeypot.signals.honeypot` is called on every login attempt with the following arguments:

* **instance**: The LoginAttempt object created
* **request**: The current request object

Testing

    python manage.py test admin_honeypot

Currently there is a single test that submits the fake login form and checks that the data was saved to the database.

last updated on:
August 2nd, 2012, 19:11 GMT
price:
FREE!
homepage:
github.com
license type:
MIT/X Consortium License 
developed by:
Derek Payton
category:
ROOT \ Internet \ Django Plugins
django-admin-honeypot
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT