﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4888	Fix Documentation: User authentication in Django	Piotr Lewandowski <django@…>	nobody	"In http://www.djangoproject.com/documentation/authentication/#writing-an-authentication-backend we read:

{{{
An authentication backend is a class that implements two methods:
``get_user(id)`` and ``authenticate(**credentials)``.

The ``get_user`` method takes an ``id`` -- which could be a username, database
ID or whatever -- and returns a ``User`` object.
}}}

Meanwhile...
{{{
$ svn cat django/contrib/auth/backends.py | grep get_user
    def get_user(self, user_id):
}}}

Additionaly code below may suggest it is complete backend class while it doesn't have{{{ get_user() }}}method.
{{{
#!python
    class MyBackend:
        def authenticate(self, username=None, password=None):
            # Check the username/password and return a User.
}}}
"		closed	Documentation	dev		fixed	authentication	django@…	Ready for checkin	1	0	0	0	0	0
