Working saving of registration data, need this doesn't create the required registration profile though.

Might need to find a way to invoke automatically then just append the new user data to the end.
This commit is contained in:
Tom Price
2015-05-21 16:04:12 +01:00
parent 8b26103776
commit a95dd34bea
3 changed files with 18 additions and 3 deletions

View File

@@ -11,8 +11,7 @@ urlpatterns = patterns('',
# url(r'^blog/', include('blog.urls')),
url(r'^', include('RIGS.urls')),
url('^user/register/$', RegistrationView.as_view(form_class=RIGS.forms.ProfileRegistrationFormUniqueEmail),
name="registration_register"),
url('^user/register/$', RIGS.views.ProfileRegistrationView.as_view()),
url('^user/', include('django.contrib.auth.urls')),
url('^user/', include('registration.backends.default.urls')),