Not redirected to registration_complete.html after registration


#1

After (successfully) registering an user, the browser redirects to the home page instead of redirecting to the registration complete page. I feeI like I missed something on the way, but I checked by code several times already. What could the problem be? I use Python 3.6 and django-registration-redux 2.6. Thanks in advance!


#2

Hi,

On page 65, it says to add the following to the bottom of the settings.py file after all the email settings:-

While we’re here, let’s tell Django what page we want to
redirect to after successful registration. Add after the code
block above:

LOGIN_REDIRECT_URL = "home"

So this line tells django to display the ‘home’ page after registration. Within reason, you should be able to put whatever page you like.