You don't need to implement one, it is there in registration/forms.py
What you need to do is configure you url like this
url(r'^register/$',
register,
{'form_class':RegistrationFormUniqueEmail},
name='registration_register'),
Before that, you need to import RegistrationFormUniqueEmail
from registration.forms import RegistrationFormUniqueEmail
Léon Dignòn ??:
> Hey folks,
>
> I don't know how to implement the RegistrationFormUniqueEmail
> subclass.
>
> I have a new project and installed django-registration. I got some
> templates wich work well. Now I want, that E-Mail addresses are
> unique. For that in the forms-documentation is mentioned, that there
> is a subclass called RegistrationFormUniqueEmail.
>
> But I don't have any idea what to do with this information. I am no
> Django guru :(
>
> Could you hellp me with that?
> >
>
>
--
Ronghui Yu <mailto:[email protected]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---