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

django-grappelli-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-grappelli-captcha-admin

easy added captcha to login page of django grappelli admin

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

django-grappelli-captcha-admin

Easy added captcha to Django administration login page. inherit from a-roomana/django-multi-captcha-admin


Dependency

To use this module you need to install django and one of the captcha engines, which you can install it with easy_install or pip.


Installation

Install:

pip install django-grappelli-captcha-admin

if you are using python 2 then install version 1.0.0 (pip install django-multi-captcha-admin==1.0.0)

Add 'multi_captcha_admin' to your INSTALLED_APPS setting before 'django.contrib.admin' app.

INSTALLED_APPS = [
	...
	'captcha_admin',
	'django.contrib.admin',
	...
]

CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.math_challenge'
CAPTCHA_TIMEOUT = 1
CAPTCHA_GET_FROM_POOL_TIMEOUT = 0
CAPTCHA_BACKGROUND_COLOR = '#bbaaaa'

Engines

We support three famous engines to render CAPTCHA. You need to install one of them, then add it to your django project according to their documents.

  • simple-captcha
  • recaptcha
  • recaptcha2

For more information, please go to the engine site.

Then add the following to your settings.py with the name of the installed engine:

MULTI_CAPTCHA_ADMIN = {
    'engine': 'simple-captcha',
}

Results

simple captcha

captcha of recaptcha

recaptcha2

captcha of recaptcha2

recaptcha

captcha of recaptcha

Keywords

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