S
S
Sergey Nizhny Novgorod2017-07-20 06:37:49
Django
Sergey Nizhny Novgorod, 2017-07-20 06:37:49

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 question

Ask a Question

731 491 924 answers to any question