Using AuthenticationForm in Django

Try:

form = AuthenticationForm(data=request.POST)

Leave a Comment