summaryrefslogtreecommitdiff
path: root/docs/ref/templates
diff options
context:
space:
mode:
authorJacek Bzdak <jbzdak@gmail.com>2015-10-21 10:28:22 +0200
committerTim Graham <timograham@gmail.com>2015-10-23 15:24:18 -0400
commitd83454fbf2eb677fa54bcb5f7ab10d5007b6a147 (patch)
tree429d3180c8325c92df6b7ff93cdf917e6cca5ff1 /docs/ref/templates
parent415837543e1b53adb3f039e7c5313ad462f6e598 (diff)
[1.8.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
Backport of 494b7986a3e5996d857b085f188a630d1504d9ca from master
Diffstat (limited to 'docs/ref/templates')
-rw-r--r--docs/ref/templates/api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index 1a739acfa1..5a2fa6a1ec 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -638,9 +638,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: