Opened 14 years ago
Closed 14 years ago
#15109 closed (fixed)
Bad variable name in documentation?
Reported by: | colinsullivan | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.2 |
Severity: | Keywords: | middleware, typo | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the Middleware documentation: http://docs.djangoproject.com/en/dev/topics/http/middleware/#process_template_response
it mentions that the member of the SimpleTemplateResponse object should be called "response.template_context", but it seems to me to be referring to "response.context_data": http://code.djangoproject.com/browser/django/trunk/django/template/response.py#L16
Note:
See TracTickets
for help on using tickets.
(In [15242]) Fixed #15109 - typo in middleware docs; thanks colinsullivan for the report.