Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#25804 closed Cleanup/optimization (fixed)

Jinja2 template backend context additions are undocumented

Reported by: Carl Meyer Owned by: Moritz Sichert
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (3)

comment:1 by Moritz Sichert, 9 years ago

Has patch: set
Owner: changed from nobody to Moritz Sichert
Status: newassigned
Version: 1.8master

comment:2 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In 6aef986c:

Fixed #25804 -- Documented additions to Jinja2 context.

comment:3 by Tim Graham <timograham@…>, 9 years ago

In 27bed94:

[1.9.x] Fixed #25804 -- Documented additions to Jinja2 context.

Backport of 6aef986cdbff72809b39880132959ef74827492f from master

Note: See TracTickets for help on using tickets.
Back to Top