Code

Opened 3 years ago

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

Attachments (0)

Change History (1)

comment:1 Changed 3 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.