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,
firstname.lastname@example.org 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 <email@example.com>
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')