[Django] #25394: Improve documentation of options debug

3 views
Skip to first unread message

Django

unread,
Sep 12, 2015, 6:28:42 PM9/12/15
to django-...@googlegroups.com
#25394: Improve documentation of options debug
-------------------------------+--------------------
Reporter: dhanus | Owner: dhanus
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
[[https://code.djangoproject.com/ticket/25386| Ticket 25386]] points out
that the options debug template context loader is
[[https://github.com/django/django/blob/aaacaeb0963c406c4fe6f68c6ae51f4a65878250/django/template/backends/django.py#L28
|set according to settings.DEBUG]].

This is not well documented in the section on
[[https://docs.djangoproject.com/en/1.8/ref/settings/#template-context-
processors| Template Context Processors]] .

I plan to add more detailed documentation here explaining how the options
debug is set.

--
Ticket URL: <https://code.djangoproject.com/ticket/25394>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 12, 2015, 6:38:44 PM9/12/15
to django-...@googlegroups.com
#25394: Improve documentation of options debug
-------------------------------+--------------------------------------

Reporter: dhanus | Owner: dhanus
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

I don't see how this is relevant to the `TEMPLATE_CONTEXT_PROCESSORS`
setting? (which is deprecated, too)

--
Ticket URL: <https://code.djangoproject.com/ticket/25394#comment:1>

Django

unread,
Sep 14, 2015, 1:06:51 PM9/14/15
to django-...@googlegroups.com
#25394: Improve documentation of options debug
-------------------------------+--------------------------------------
Reporter: dhanus | Owner: dhanus
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.8
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => needsinfo


Comment:

Feel free to reopen the ticket when you send your pull request. Absent
that it's unclear what documentation should be added. Thanks.

--
Ticket URL: <https://code.djangoproject.com/ticket/25394#comment:2>

Reply all
Reply to author
Forward
0 new messages