How to redirect login with Allauth in Python/Django?

Viewed 141

Im working with Python and Django.

I have a manual registration/login, and also I've installed with Allauth a Gmail registration/login.

When the user logins (with the manual login I created), it automatically executes a view which shows the differents things the user can do and information related to the user. The url is: http://127.0.0.1:8000/dashboard/9

screen capture here

In relation with Gmail, the user can register and login. But, when it logins, sees the url http://127.0.0.1:8000/accounts/google/login/callback/?(...), which confirms it is logged in.

screen capture here

I understand I should create a view in the social_app app, in order to connect the Gmail user with the information in the database. Any ideas? Thanks!

1 Answers
Related