Full e-mail address validation for Django
Out of the box, Django e-mail fields for both database models and forms only
accept plain e-mail addresses. For example,
email@example.com is accepted.
On the other hand, full e-mail addresses which include a human-readable name, for example the following address fails validation in Django:
Joe Hacker <firstname.lastname@example.org>
This package adds support for validating full e-mail addresses.
Database model example
from django import models from full_email.models import FullEmailField class MyModel(models.Model): email = FullEmailField()
from django import forms from full_email.formfields import FullEmailField class MyForm(forms.Form): email = FullEmailField(label='E-mail address')