Project Description
## Settings

Release History
## Release History

Download Files
## Download Files

Django Math Captcha is an easy way to add mathematical captcha verification to your already existing forms.
It asks you a simple math question (eg `'1 + 2 ='`) and validates the form if your response is correct.
All you have to do is subclass either `MathCaptchaForm` or `MathCaptchaModelForm` in your own forms.

Use it in your forms:

from math_captcha import MathCaptchaModelForm from myapp.models import Blog class MyExistingForm(MathCaptchaModelForm): # instead of forms.ModelForm #... extra fields here class Meta: model = Blog

Now you can be certain that the only users who create blogs are humans

Check out the example project for more practical use and tests.

Set the behavior of the math captcha interaction in your settings.py

`MATH_CAPTCHA_NUMBERS`

A list of numbers to randomly choose from when generating the questions.
Defaults to `[1,2,3,4,5]`.

`MATH_CAPTCHA_OPERATORS`

List of mathematical operators to use. Default is only add (`+`) and subtract (`-`).
Available operators are: add (`+`), subtract (`-`), multiply (`*`), divide (`/`), and modulo (`%`)

`MATH_CAPTCHA_QUESTION`

Question that appears on forms as a label for math questions. By default it is `'Are you human?'`

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help | Version | File Type | Upload Date |
---|---|---|---|

django-math-captcha-0.1.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 | – | Source | Dec 10, 2009 |