[Fixed]-Wrong input argument number in Django login() function

1👍

As said in the comments, Django’s login function from django.contrib.auth takes 2 arguments, so the error you are getting is because the function you are calling is another function named login from your application .

Leave a comment