1👍
✅
login
takes a User
object, you do not have to call authenticate
to retrieve the user if you really don’t want to validate the user
user = User.objects.get(email=email)
login(request, user)
Source:stackexchange.com