1👍
The code…
url(r'^accounts/register/$',
RegistrationView.as_view(success_url=settings.LOGIN_REDIRECT_URL),
name='registration_register')
…is technically correct, but it looks like there’s a bug in the django-registration library which means it will effectively ignore this value, so you’ll have to override the get_success_url()
method if you actually want something that works.
👤Aya
Source:stackexchange.com