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
Post a Comment