[1.2.X] Fixed #14551 -- corrected a type in the remote user auth documentation. Thanks to mag for the report and fix. Backport of [14344].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2d4ddc0416
commit
552acc652d
|
@ -2,7 +2,7 @@
|
|||
Authentication using ``REMOTE_USER``
|
||||
====================================
|
||||
|
||||
.. currentmodule:: django.contrib.backends
|
||||
.. currentmodule:: django.contrib.auth.backends
|
||||
|
||||
This document describes how to make use of external authentication sources
|
||||
(where the Web server sets the ``REMOTE_USER`` environment variable) in your
|
||||
|
@ -68,7 +68,7 @@ If your authentication mechanism uses a custom HTTP header and not
|
|||
``RemoteUserBackend``
|
||||
=====================
|
||||
|
||||
.. class:: django.contrib.backends.RemoteUserBackend
|
||||
.. class:: django.contrib.auth.backends.RemoteUserBackend
|
||||
|
||||
If you need more control, you can create your own authentication backend
|
||||
that inherits from ``RemoteUserBackend`` and overrides certain parts:
|
||||
|
|
Loading…
Reference in New Issue