mirror of
https://github.com/django/django.git
synced 2025-03-03 05:24:24 +00:00
Fix docs for context_processors.auth
Copy said it created three context variables, but only lists two. ("messages" was removed.)
This commit is contained in:
parent
515fd6a5de
commit
29cd3d6c01
@ -433,7 +433,7 @@ django.contrib.auth.context_processors.auth
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If :setting:`TEMPLATE_CONTEXT_PROCESSORS` contains this processor, every
|
||||
``RequestContext`` will contain these three variables:
|
||||
``RequestContext`` will contain these variables:
|
||||
|
||||
* ``user`` -- An ``auth.User`` instance representing the currently
|
||||
logged-in user (or an ``AnonymousUser`` instance, if the client isn't
|
||||
|
Loading…
x
Reference in New Issue
Block a user