Answer the question
In order to leave comments, you need to log in
How to redirect to the current page in django allauth?
Hello everyone
Situation:
- user on the home page - clicks on the
facebook icon and logs in to facebook with allauth
- After successful authorization, he goes to /accounts/profile/
We can rewrite this redirect using LOGIN_REDIRECT_URL in setting.py, but this is not quite exactly what is needed.
Is it possible to return the user to the original page?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question