The robots are trying to take over the world. Ensure that your forms are used only by humans.
django-humanity adds a simple mathematical equation to your form that users must solve in order to submit. Computers are notoriously terrible at math, so this is a task that only humans (or maybe dolphins) can accomplish.
Usage
Create your form as a subclass of HumanityForm:
from humanity.forms import HumanityForm
class MyForm(HumanityForm):
pass
That’s it! Just include the form in your template and everything will be handled for you.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-humanity-0.2.tar.gz
(2.8 kB
view details)
File details
Details for the file django-humanity-0.2.tar.gz.
File metadata
- Download URL: django-humanity-0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ebbaf6c0a6c5dfa4b6978d970a070b6e36cb57f69b86ef5aa03401c57bc79f9
|
|
| MD5 |
8a223d49d6f2d3d0b36e81d152c34a44
|
|
| BLAKE2b-256 |
2b268b6f2412ce95d2a9abff56f4f4f4847075fe214fa141f327ee05649046a0
|