authenticate and jsonfield

1.authenticate : in the r\askbot\deps\django_authopenid\views.py line 540: user=authenticate(...) , this method have a method parameter, so I believe it must be an instance of AuthBackend (in askbot\deps\django_authopenid\backends.py ), but it is not. Is this a bug or I think wrong.

2.The jsonfield package alway raise "not a json" error, I find it is caused by User.objects.get(username=username), why? does the askbot user manage system using Json data.

luckystar1992's avatar
71
luckystar1992
asked 2015-05-19 08:48:50 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments