diff options
Diffstat (limited to 'patchwork/forms.py')
-rw-r--r-- | patchwork/forms.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/patchwork/forms.py b/patchwork/forms.py index e06cfc1..f02bd29 100644 --- a/patchwork/forms.py +++ b/patchwork/forms.py @@ -8,6 +8,8 @@ from django import forms from django.db.models import Q from django.db.utils import ProgrammingError +from simplemathcaptcha.fields import MathCaptchaField + from patchwork.models import Bundle from patchwork.models import Patch from patchwork.models import State @@ -27,6 +29,7 @@ class RegistrationForm(forms.Form): label=u'Username') password = forms.CharField(widget=forms.PasswordInput(), label='Password') + captcha = MathCaptchaField() def clean_username(self): value = self.cleaned_data['username'] |