I'm having trouble validating login, I'm using a legacy firebird 2.5 database. Could someone help me?
I'm having trouble validating login, I'm using a legacy firebird 2.5 database. Could someone help me?
According to the error message that appears in the screen shot the problem is that the USUARIO
table does not have the USERNAME
column. Have you checked that the columns needed for Django authentication to work have already been created in the USUARIO
table?
By the parameters you are passing to authenticate()
you seem to have created a new authentication backend, if this was indeed the case make sure the authenticate()
method of your backend is catching the user correctly.