#17870: Documentation for EmailField max_length
-------------------------------+------------------------
Reporter: Rotund | Owner: Rotund
Type: Bug | Status: new
Component: Documentation | Version: 1.4-beta-1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------
There has been discussion on the Django-develop mailing list about the
default max_length of the EmailField. The RFCs allow for 254 octets. This
can allow for a maximum of 254 characters. Post 1.4, someone may decide to
have the EmailField properly handle the encoding information if a
character would use multiple bytes, but in the meantime the documentation
should be updated to add the following note to the EmailField.
The default 75 character max_length is not capable of storing all
RFC3696/5321 email addresses. A max_length of 254 would be capable of
storing all email addresses as defined by the RFC3696/5321 specification.
This is not being changed at this time to maintain backwards
compatibility.
--
Ticket URL: <https://code.djangoproject.com/ticket/17870>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.