forms.EmailField does not match length requirements of models.EmailField
|Reported by:||natevw||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Django's models.EmailField has a default max_length=75 and thus database truncation errors will result from anything longer. Django's forms.EmailField does not have a default max_length and thus saving a "valid" 80 character email address from a form field to a model field that are both using the defaults results in an exception. forms.EmailField should default to max_length=75 so that it works as expected even when used outside of a ModelForm.