Re: django-registration and RegistrationFormUniqueEmail subclass

2009-08-09 Thread Léon Dignòn
Thank you On Jul 22, 7:42 pm, Dan Harris wrote: > The stuff in the brackets are the optional arguments passed to the > "register" view. > > You can read the documentation about the view at: > > http://bitbucket.org/ubernostrum/django-registration/src/b360801eae96... > > Alternatively you can che

Re: django-registration and RegistrationFormUniqueEmail subclass

2009-07-22 Thread Dan Harris
The stuff in the brackets are the optional arguments passed to the "register" view. You can read the documentation about the view at: http://bitbucket.org/ubernostrum/django-registration/src/b360801eae96/docs/views.txt Alternatively you can check out the code as well. Cheers, Dan --~--~--

Re: django-registration and RegistrationFormUniqueEmail subclass

2009-07-22 Thread Léon Dignòn
How did you know about the parameter in brackets{}, what part of the documentation have I to read to know that? And how do you know I have to use 'form_class'? On Jul 22, 4:59 pm, Ronghui Yu wrote: > You don't need to implement one, it is there in registration/forms.py > What you need to do is

Re: django-registration and RegistrationFormUniqueEmail subclass

2009-07-22 Thread Ronghui Yu
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_regis

django-registration and RegistrationFormUniqueEmail subclass

2009-07-22 Thread 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