authenticate and jsonfield

asked 2015-05-19 08:48:50 -0600

luckystar1992 gravatar image

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.

edit retag flag offensive close merge delete