Commits

ubernostrum  committed 0d60ebb

Trying a better max_length on the email field

  • Participants
  • Parent commits 9f70e45

Comments (0)

Files changed (1)

     username = forms.CharField(max_length=30,
                                widget=forms.TextInput(attrs=attrs_dict),
                                label=u'Username')
-    email = forms.EmailField(widget=forms.TextInput(attrs=attrs_dict),
+    email = forms.EmailField(max_length=200,
+                             widget=forms.TextInput(attrs=attrs_dict),
                              label=u'Email address')
     password1 = forms.CharField(widget=forms.PasswordInput(attrs=attrs_dict),
                                 label=u'Password')