Skip to content

aeyoll/django-powcaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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