Django PowCaptcha form field/widget integration app.
-
Install with
pip install django-powcaptcha
. -
Add
'django_powcaptcha'
to yourINSTALLED_APPS
setting.
INSTALLED_APPS = [
...,
'django_powcaptcha',
...
]
- Add settings.
For example:
POWCAPTCHA_API_URL = 'https://captcha.yourdomain.com'
POWCAPTCHA_API_TOKEN = 'MyPOWCAPTCHAPrivateKey456'
The quickest way to add PowCaptcha to a form is to use the included
PowCaptchaForm
class. For example:
from django_powcaptcha.forms import PowCaptchaForm
class FormWithCaptcha(PowCaptchaForm):
...