summaryrefslogtreecommitdiff
path: root/docs/ref/templates/api.txt
diff options
context:
space:
mode:
authorAlex Morozov <inductor2000@mail.ru>2015-11-11 11:26:07 +0300
committerTim Graham <timograham@gmail.com>2015-11-17 10:18:07 -0500
commitb4aa38d106e903a21773d3486885fd8d2fa8a660 (patch)
tree210b47dff02d7906edf58d17f8317adabf5a3a76 /docs/ref/templates/api.txt
parent583d3c081a2869cfad78c4993988bcded3775524 (diff)
[1.8.x] Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
Backport of 5abed864ee1cd31a0b920768b4abe85b26b43a4d from master
Diffstat (limited to 'docs/ref/templates/api.txt')
-rw-r--r--docs/ref/templates/api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index 5a2fa6a1ec..52721210e7 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -661,6 +661,8 @@ variables:
django.template.context_processors.debug
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.. function:: debug
+
If this processor is enabled, every ``RequestContext`` will contain these two
variables -- but only if your :setting:`DEBUG` setting is set to ``True`` and
the request's IP address (``request.META['REMOTE_ADDR']``) is in the