Problem with Django authentication

0

I'm having trouble validating login, I'm using a legacy firebird 2.5 database. Could someone help me?

    
asked by anonymous 11.11.2014 / 16:18

1 answer

2

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.

    
07.01.2015 / 23:34