Django version 1.10.7
I'm getting TypeError: authenticate() takes exactly 0 arguments (3 given)
Importing the authenticate() like this:
from django.contrib.auth import authenticate, login
Calling authenticate() like this :
authenticate(request, username=request.POST['username'] ,password=request.POST['password'])