Suppose the user is on the page /some_url/ on the site with django-allauth. When you click Sign In, they are sent to the URL, for example:
/accounts/login/?next=/some_url/
If they are already registered, after logging in they are sent to /some_url/ , which is good.
But if they are not registered, and they click "Register", they are sent to:
/accounts/signup/?next=/some_url/
Suppose that I want to send the user to some experience on board, to /onboarding/ , immediately after registration.
What is the easiest way to override allauth's default behavior and send the user to /onboarding/ even if next=/some_url/ ?
django django-allauth
awidgery
source share