#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 , 9 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Version: | 1.8 → master |
Note:
See TracTickets
for help on using tickets.
PR