Skip to main content

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

  1. Install django-captcha-admin from pypi:

    $> pip install django-captcha-admin
  2. Add captcha_admin and captcha to your INSTALLED_APPS:

  3. Add your captcha keys to your settings, the way django-recaptcha indicates:

    RECAPTCHA_PUBLIC_KEY = 'your-public-key'
    RECAPTCHA_PRIVATE_KEY = 'your-private-key'
  4. 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
    urlpatterns = patterns(
        url(r'^admin/', include(,  # and this...

That’s it!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-captcha-admin-0.2.tar.gz (3.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page