Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aeyoll/django-powcaptcha
https://github.com/aeyoll/django-powcaptcha
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aeyoll/django-powcaptcha
- Owner: aeyoll
- License: bsd-3-clause
- Created: 2023-12-11T13:26:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-22T13:29:39.000Z (about 1 year ago)
- Last Synced: 2024-04-24T15:23:53.152Z (8 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```python
INSTALLED_APPS = [
...,
'django_powcaptcha',
...
]
```3. Add settings.
For example:
```python
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:```python
from django_powcaptcha.forms import PowCaptchaFormclass FormWithCaptcha(PowCaptchaForm):
...
```