Closed cmutel closed 7 months ago
Probably best to do this directly in the database:
From SO (code in models.py):
models.py
from django.contrib.auth.models import User User._meta.get_field('email')._unique = True
We can also modify the sign up and other forms to do this check and provide better feedback.
Already implemented in issue #38.
Probably best to do this directly in the database:
From SO (code in
models.py
):We can also modify the sign up and other forms to do this check and provide better feedback.