Provides a recaptcha field in django's default admin login page.
Project description
Simple way to add a ReCaptcha field to your admin login page.
4 simple steps
Install django-captcha-admin from pypi:
$> pip install django-captcha-admin
Add captcha_admin and captcha to your INSTALLED_APPS:
INSTALLED_APPS = ( ... 'captcha_admin', 'captcha', )
Add your captcha keys to your settings, the way django-recaptcha indicates:
RECAPTCHA_PUBLIC_KEY = 'your-public-key' RECAPTCHA_PRIVATE_KEY = 'your-private-key'
Edit your code so instead of importing admin from django.contrib, you import it from captcha_admin:
from captcha_admin import admin # This should stay the same admin.autodiscover() urlpatterns = patterns( ... url(r'^admin/', include(admin.site.urls)), # and this... ... )
That’s it!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-captcha-admin-0.1c1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a15a435378e13c05e584075f578746d8a8d18b57f3b56ed122ce94c8509ab136 |
|
MD5 | bebe204a266183634ed795c5d0a8c1bc |
|
BLAKE2b-256 | 1f81d988eda8a7d43007901a91cb2821dd8ce317ee222e1b03075a834c78f621 |