Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-captcha-admin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-captcha-admin

Provides a recaptcha field in django's default admin login page.

  • 0.2
  • PyPI
  • Socket score

Maintainers
1

====================== 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!

.. _ReCaptcha: https://www.google.com/recaptcha/ .. _django-recaptcha: https://github.com/praekelt/django-recaptcha

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc