Django Registration In Redux, there is option registration form that one can use. For example, you can use RegistrationFormTermsOfService or RegistrationFormUniqueEmail in a registration.forms file. I've read the code and the data that how to do this is setting a REGISTRATION_FORM variable in the settings.py file. In the registration.views we see the following:
REGISTRATION_FORM_PATH = getattr (settings, 'registration.forms.RegistrationForm') REGISTRATION_FORM = import_string (REGISTRATION_FORM_PATH)
However, when I set up REGISTRATION_FORM in 'settings.forms.RegistrationFormUniqueEmail' for settings.py, I still can not get the form for unique email. Any help would be appreciated.
OK, so I figured this one. In fact, Version 1.1 of the DJENGOGO Registration Redux has the option of setting this setting that the registration form was not available in the settings. The code that I was seeing with Github was version 1.2. So if it is with you, then just install it from Gitub.
No comments:
Post a Comment