#11907: EmailField should run strip()
---------------------------------+------------------------------------------
Reporter: whatcould | Owner: nobody
Status: reopened | Milestone:
Component: Forms | Version: 1.1
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------+------------------------------------------
Changes (by whatcould):
* status: closed => reopened
* resolution: duplicate =>
Comment:
This is clearly not a duplicate of #6362. Email is a specific kind of data
-- #6362 is the general case. (Which, of course, should also be changed,
but that's not the point here.)
Emails can not have spaces, so the email. Nothing to do with stripping
spaces for other field types.
If the argument against #6362 is that ''sometimes'' you might want spaces
in the data, that argument is moot here, because you would '''never want
spaces in a user-entered email address'''. The examples people brought up
in #6362, appropriately enough, are of users entering emails (with spaces)
and being confused/frustrated.
--
Ticket URL: <http://code.djangoproject.com/ticket/11907#comment:2>
Django <http://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.