Getting TypeError at /login/: authenticate() got an unexpected keyword argument 'username'

前端 未结 0 1600
时光取名叫无心
时光取名叫无心 2021-01-28 23:11

I am trying to authenticate the user using Django in-built User model. Here is the view of the login page:

if request.user.is_authenticated:
        return redire         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题