Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    django-math-captcha 0.1

    Download button

    No screenshots available
    Downloads: 324  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Justin Quick | More programs
    BSD License / FREE
    December 10th, 2009, 04:11 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-math-captcha description

    Simple, secure math captcha for Django forms

    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.

    Settings

    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?'


    Product's homepage

    Requirements:

    · Django
    · Python

      


    TAGS:

    Django forms | math captcha | secure captcha | Django | forms | captcha

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM