• Raphaël Hertzog's avatar
    django_email_accounts: validate email on UserEmail.save() · d7c887fe
    Raphaël Hertzog authored
    The goal is to never accept invalid data in the database. It will
    raise ValidationError but any code creating UserEmail should either
    check emails validity before or be ready to handle those errors.
    
    The validation also applies to the user field, so that's why we must
    add the blank=True, otherwise validation does not pass.
    d7c887fe
Name
Last commit
Last update
bin Loading commit data...
data Loading commit data...
debian Loading commit data...
distro_tracker Loading commit data...
django_email_accounts Loading commit data...
docs Loading commit data...
functional_tests Loading commit data...
.coveragerc Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYRIGHT Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
manage.py Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...