1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

[1.9.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.

Backport of 494b7986a3 from master
This commit is contained in:
Jacek Bzdak
2015-10-21 10:28:22 +02:00
committed by Tim Graham
parent 2eab4acb3e
commit 488538e55e
3 changed files with 29 additions and 6 deletions

View File

@@ -684,9 +684,13 @@ Context processors
Here's what each of the built-in processors does:
.. currentmodule:: django.contrib.auth.context_processors
django.contrib.auth.context_processors.auth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. function:: auth
If this processor is enabled, every ``RequestContext`` will contain these
variables: