easy added captcha to login page of django grappelli admin
Project description
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.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-grappelli-captcha-admin-1.0.0.tar.gz
.
File metadata
- Download URL: django-grappelli-captcha-admin-1.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68736172ab54019bcaa9d1515b9142af232a5c2b6dd1545898d610260813ba87 |
|
MD5 | 1b3f90b1da585cf46cc2cf3493aa9969 |
|
BLAKE2b-256 | 7af95939bc0136658987867b00ab7f57ec380d8929b4ac0aeee8298dcc426136 |
File details
Details for the file django_grappelli_captcha_admin-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: django_grappelli_captcha_admin-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c21d0d3d09505d1d322f04eed2c99bd1308ebeb1248cd65112aec013c1804cb9 |
|
MD5 | c6b53e055a0b03abb56e584bf0b88fd4 |
|
BLAKE2b-256 | 77fea586ab29fa7e56020158711153f009956fc16fb93adfe3c70c89dab1009c |