Out of the box, Django e-mail fields for both database models and forms only
accept plain e-mail addresses. For example, joe@hacker.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 <joe@hacker.com>
This package adds support for validating full e-mail addresses.
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')