Skip to main content

Django Captcha Admin

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:

    INSTALLED_APPS = (
        ...
        'captcha_admin',
        'captcha',
    )
  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
    admin.autodiscover()
    
    urlpatterns = patterns(
        ...
        url(r'^admin/', include(admin.site.urls)),  # and this...
        ...
    )

That’s it!

Metadata

Release files for django-captcha-admin 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-captcha-admin 0.2
File Size Uploaded Provenance Actions
django-captcha-admin-0.2.tar.gz 3.8 kB Without provenance Details for django-captcha-admin-0.2.tar.gz

Release files / django-captcha-admin-0.2.tar.gz

Download URL django-captcha-admin-0.2.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
66a615db50e392fe7bc72f6727620b500a08a76d69f6c8c421d985ef35b0b263
BLAKE2b-256 checksum
How to use checksums
3490ab921578e0b9d69f5624938d4a9841818bffe4dc9d7f868a212ac491fb82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-captcha-admin 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page