Opened 13 years ago

Closed 13 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

Change History (1)

comment:1 by Tim Graham, 13 years ago

Resolution: fixed
Status: newclosed

(In [15242]) Fixed #15109 - typo in middleware docs; thanks colinsullivan for the report.

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