Skip to content

Commit

Permalink
Merge pull request #1204 from tangentlabs/issue/customer_form_allows_…
Browse files Browse the repository at this point in the history
…too_many_characters

Correct max_length for UserAndProfileForm
  • Loading branch information
maiksprenger committed Apr 1, 2014
2 parents 42c9945 + 40f7b17 commit 5cafe67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oscar/apps/customer/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ class Meta:

class UserAndProfileForm(forms.ModelForm):
first_name = forms.CharField(
label=_('First name'), max_length=128, required=False)
label=_('First name'), max_length=30, required=False)
last_name = forms.CharField(
label=_('Last name'), max_length=128, required=False)
label=_('Last name'), max_length=30, required=False)
email = forms.EmailField(label=_('Email address'))

# Fields from user model
Expand Down

0 comments on commit 5cafe67

Please sign in to comment.