diff options
| author | Alex Morozov <inductor2000@mail.ru> | 2015-11-11 11:26:07 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-17 10:18:07 -0500 |
| commit | b4aa38d106e903a21773d3486885fd8d2fa8a660 (patch) | |
| tree | 210b47dff02d7906edf58d17f8317adabf5a3a76 /docs/ref/templates | |
| parent | 583d3c081a2869cfad78c4993988bcded3775524 (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')
| -rw-r--r-- | docs/ref/templates/api.txt | 2 |
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 |
