Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 2.04 KB

README.md

File metadata and controls

68 lines (42 loc) · 2.04 KB

django-multi-captcha-admin

PyPi Version PyPI - Downloads GitHub stars

Easy added captcha to Django administration login page.


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-multi-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 = [
	...
	'multi_captcha_admin',
	'django.contrib.admin',
	...
]

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.

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': 'recaptcha2',
}

Results

recaptcha2

captcha of recaptcha2

recaptcha

captcha of recaptcha

simple captcha

captcha of recaptcha