Friday, June 14, 2013

Re: User authentication with either username or email.

El 14/06/2013 07:26 a.m., shashank sandela escribió:
unbound method authenticate() must be called with EmailOrUsernameModelBackend instance as first argument (got nothing instead)
Hi. Remember that you must import a function before you call it. This is a reference to authentication in Django https://docs.djangoproject.com/en/1.5/topics/auth/default/#how-to-log-a-user-in

Regards.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate