Commit 405030cf authored by Nicholas Anderson's avatar Nicholas Anderson
Browse files

I'm not sure why we have a CAPTCHA when the user needs to be logged in

parent 452c5ef8
from django import forms
from go.models import URL, RegisteredUser
from django.core.exceptions import ValidationError
from captcha.fields import CaptchaField
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Fieldset, Submit, HTML, Div, Field
from crispy_forms.bootstrap import StrictButton, PrependedText, Accordion, AccordionGroup
......@@ -167,7 +166,6 @@ class SignupForm(forms.ModelForm):
widget=forms.Textarea(attrs={
}),
)
captcha = CaptchaField()
class Meta:
model = RegisteredUser
......
......@@ -102,25 +102,6 @@ Go - Signup
</div>
</div>
{% if form.captcha.errors %}
<div class="form-group has-error">
{% else %}
<div class="form-group">
{% endif %}
<div class="col-md-4">
<label class="control-label" for="{{ form.captcha.id_for_label }}">
{{ form.captcha.label }}</label>
</div>
<div class="col-md-8">
{{ form.captcha }}
{% for error in form.captcha.errors %}
<span class="help-block">{{error}}</span>
{% endfor %}
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<input type="submit" value="Submit"
......
......@@ -100,7 +100,6 @@ INSTALLED_APPS = (
'piwik',
'django.contrib.admin',
'qrcode',
'captcha',
'crispy_forms',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment