[Fixed]-Redirect after login simply appends LOGIN_REDIRECT_URL

30👍

Change:

LOGIN_REDIRECT_URL = 'auth/logged_in'

to:

LOGIN_REDIRECT_URL = '/auth/logged_in'

You’re redirecting to a path that is appended to the current url. You need to use a leading slash to redirect to a path that is appended to the domain root.

👤huu

0👍

make changes in settings.py file as

LOGIN_REDIRECT_URL = '/auth/logged_in/'
👤raghu

Leave a comment