Problem with Django authentication

Asked

Viewed 251 times

0

I’m having trouble validating the login, I’m using a legacy bank Firebird 2.5. Could someone help me?

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • The database is synchronized?

1 answer

2


According to the error message that appears in screen shot the problem is that table USUARIO does not have the column USERNAME. Have you checked whether the columns required for Django authentication have already been created in the table USUARIO?

By the parameters you are passing to authenticate() seems you have created a new authentication backend, if this was really the case check if the method authenticate() your backend is picking up the user correctly.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.