- changed status to resolved
IntegrityError when registering with existing email address
Issue #2
resolved
When I try to register with an email address that already exists I get the following IntegrityError: column email is not unique. I'm assuming we're just getting the default database error which we're not handling at the moment.
To fix this we can add a clean_email function on the UserForm that does a lookup for the given email address and then raises a ValidatonError with the appropriate error message if it already exists.
Comments (1)
-
reporter - Log in to comment
Solved the IntegrityError when a duplicate email is entered.
Fixes
#2→ <<cset 2e69169c6ab5>>