diff options
Diffstat (limited to 'gstudio/forms.py')
-rw-r--r-- | gstudio/forms.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gstudio/forms.py b/gstudio/forms.py index eee5ec1..0cf9ccc 100644 --- a/gstudio/forms.py +++ b/gstudio/forms.py @@ -20,10 +20,18 @@ from django.forms import ModelForm from django.forms import * from django.contrib.admin import widgets from registration.forms import * +from recaptcha import fields as recaptcha_fields +from registration.forms import RegistrationForm + +class RecaptchaRegistrationForm(RegistrationForm): + recaptcha = recaptcha_fields.ReCaptchaField() + class UserRegistrationForm(RegistrationForm): first_name = forms.CharField() last_name = forms.CharField() + recaptcha = recaptcha_fields.ReCaptchaField() + class MetatypeForm(ModelForm): |