django-powcaptcha

Django PowCaptcha form field/widget app.


Keywords
django, powcaptcha
License
BSD-3-Clause
Install
pip install django-powcaptcha==0.0.2

Documentation

Django PowCaptcha

Django PowCaptcha form field/widget integration app.

Installation

  1. Install with pip install django-powcaptcha.

  2. Add 'django_powcaptcha' to your INSTALLED_APPS setting.

INSTALLED_APPS = [
    ...,
    'django_powcaptcha',
    ...
]
  1. Add settings.

For example:

POWCAPTCHA_API_URL = 'https://captcha.yourdomain.com'
POWCAPTCHA_API_TOKEN = 'MyPOWCAPTCHAPrivateKey456'

Usage

Form

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):
    ...