How To Redirect People After They Register Using Django Registration
url(r'^register/$', RegistrationView.as_view(form_class=CustomRegistrationForm, success_url='/profile'), name='registration_register', succ
Solution 1:
The redirect will be issued to the path specified by RegistrationView.get_success_url, which should be RegistrationView.success_url which you've specified when constructing the view function.
You can review RequestView.form_valid for more details.
Post a Comment for "How To Redirect People After They Register Using Django Registration"