From b4aa38d106e903a21773d3486885fd8d2fa8a660 Mon Sep 17 00:00:00 2001 From: Alex Morozov Date: Wed, 11 Nov 2015 11:26:07 +0300 Subject: [1.8.x] Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does. Backport of 5abed864ee1cd31a0b920768b4abe85b26b43a4d from master --- docs/ref/templates/api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/ref/templates/api.txt') 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 -- cgit v1.3