sentier-dev / dds_registration

Django app for event registration and billing
MIT License
0 stars 1 forks source link

User `email` should be unique #44

Closed cmutel closed 7 months ago

cmutel commented 7 months ago

Probably best to do this directly in the database:

From SO (code in 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.

lilliputten commented 7 months ago

Already implemented in issue #38.