mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
This commit is contained in:
parent
92eced62cd
commit
5abed864ee
4 changed files with 12 additions and 4 deletions
|
@ -691,6 +691,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue