Opened 4 years ago

Closed 4 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:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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 Changed 4 years ago by timo

  • Resolution set to fixed
  • Status changed from new to closed

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

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