mbi

Lausanne, Switzerland
 

Managed Projects

django-simple-captcha

  Analyzed 1 day ago

Django Simple CaptchaAboutDjango Simple Captcha is an extremely simple, yet highly customizable Django application to add captcha images to any Django form. UsageSample view: from django import forms from captcha.fields import CaptchaField from django.shortcuts import ... [More] render_to_response class CaptchaTestForm(forms.Form): myfield = AnyOtherField() captcha = CaptchaField() """ # or, as a ModelForm: class CaptchaTestModelForm(forms.ModelForm): captcha = CaptchaField() class Meta: model = MyModel """ def home(request): if request.POST: form = CaptchaTestForm(request.POST) # Validate the form: the captcha field will automatically # check the input if form.is_valid(): human = True else: form = Captch [Less]

1.85K lines of code

8 current contributors

about 2 months since last commit

14 users on Open Hub

Low Activity
4.75
   
I Use This