python - Django-registration, force unique e-mail -


Can I force users to create unique e-mail addresses in the Django-registration?

For later versions of django_registration (which use class-based views), you Can be imported from registration form by:

  registration. Registration. Email from registration Backends.default.views Import Registration URL Pattern = Pattern ('', url (r 'registration / $', registration .view_view (form_class = RegistrationFormUniqueEmail), name = 'registration_register'),)  
< / Div>

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -