1. limpbrains
  2. django-registration

Commits

ubernostrum  committed 109d5bc

Trying it out again

  • Participants
  • Parent commits 0d60ebb
  • Branches default

Comments (0)

Files changed (1)

File forms.py

View file
  • Ignore whitespace
                                widget=forms.TextInput(attrs=attrs_dict),
                                label=u'Username')
     email = forms.EmailField(max_length=200,
-                             widget=forms.TextInput(attrs=attrs_dict),
+                             widget=forms.TextInput(attrs=dict(attrs_dict,
+                                                               maxlength=200),
                              label=u'Email address')
     password1 = forms.CharField(widget=forms.PasswordInput(attrs=attrs_dict),
                                 label=u'Password')