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

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

.net - Self Tracking Entities (STE)'s and partial updates with EF4 and mVC2 -