Open carltongibson opened 1 year ago
There are three levels that should prevent duplicate emails:
ModelForm
Model.full_clean()
Model.save()
Base tests added in https://github.com/carltongibson/django-unique-user-email/commit/69278bf5c68c6ed0b5601b650034f819be1f4871 show the fundamentals.
There are three levels that should prevent duplicate emails:
ModelForm
.Model.full_clean()
Model.save()
(via constraint).Tutorial