Redirect User to another url with django-allauth log in signal
问题 I am using Django-allauth for my login/signup related stuff, so when a user signs up(first time) into my site, I am redirecting him to /thanks/ page by defining below setting in settings.py file LOGIN_REDIRECT_URL = '/thanks/' But when the user tried to log in for the next time(if already registered) I should redirect him to '/dashboard/' URL So tried to alter that with Django-allauth signals like below which is not working at all @receiver(allauth.account.signals.user_logged_in) def