#12223: EmailField does not actually validate
------------------------------------------+---------------------------------
Reporter: JohnDoe | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.1
Keywords: | Stage: Unreviewed
Has_patch: 0 |
------------------------------------------+---------------------------------
The modelfield EmailField does not actually validate the email, as stated
in the documentation (see.
[http://docs.djangoproject.com/en/dev/ref/models/fields/#emailfield]).
=== My test ===
{{{
class TestModel(models.Model):
email = models.EmailField()
}}}
{{{
>>> t = TestModel(email='asd,,,')
>>> t.save()
}}}
No error is raised, even though that is not a valid email.
--
Ticket URL: <http://code.djangoproject.com/ticket/12223>
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].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=.