django auth_views.login and redirects
- by Zayatzz
Hello
I could not understand why after logging in from address:
http://localhost/en/accounts/login/?next=/en/test/
I get refirected to
http://localhost/accounts/profile/
So i ran search in django files and found that this address is the default LOGIN_REDIRECT_URL for django.
What i did not understand is why it gets redirected to there. I…