[Django] #25804: Jinja2 template backend context additions are undocumented

20 views
Skip to first unread message

Django

unread,
Nov 23, 2015, 5:23:34 PM11/23/15
to django-...@googlegroups.com
#25804: Jinja2 template backend context additions are undocumented
------------------------------------------------+------------------------
Reporter: carljm | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
The Jinja2 template backend adds a few things to the template context by
default: the request, and the CSRF token and CSRF input tag generator. As
far as I can find (and perhaps I missed it), these additions are not
documented anywhere, and they should be.

Issue originally noted by Patrick Spencer in
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
/django-users/kd8m9miWCK4/v-G9yfaYCAAJ

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

Django

unread,
Mar 13, 2016, 8:55:20 AM3/13/16
to django-...@googlegroups.com
#25804: Jinja2 template backend context additions are undocumented
--------------------------------------+------------------------------------
Reporter: carljm | Owner: MoritzS
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by MoritzS):

* status: new => assigned
* owner: nobody => MoritzS
* has_patch: 0 => 1
* version: 1.8 => master


Comment:

[https://github.com/django/django/pull/6285 PR]

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

Django

unread,
Mar 14, 2016, 8:43:42 AM3/14/16
to django-...@googlegroups.com
#25804: Jinja2 template backend context additions are undocumented
--------------------------------------+------------------------------------
Reporter: carljm | Owner: MoritzS
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"6aef986cdbff72809b39880132959ef74827492f" 6aef986c]:
{{{
#!CommitTicketReference repository=""
revision="6aef986cdbff72809b39880132959ef74827492f"
Fixed #25804 -- Documented additions to Jinja2 context.
}}}

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

Django

unread,
Mar 14, 2016, 8:43:59 AM3/14/16
to django-...@googlegroups.com
#25804: Jinja2 template backend context additions are undocumented
--------------------------------------+------------------------------------
Reporter: carljm | Owner: MoritzS
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"27bed94e9cb4eb712ddda465e6bbd3aca5f15ce4" 27bed94]:
{{{
#!CommitTicketReference repository=""
revision="27bed94e9cb4eb712ddda465e6bbd3aca5f15ce4"
[1.9.x] Fixed #25804 -- Documented additions to Jinja2 context.

Backport of 6aef986cdbff72809b39880132959ef74827492f from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25804#comment:3>

Reply all
Reply to author
Forward
0 new messages