Opened 11 years ago

Closed 11 years ago

#20882 closed Bug (invalid)

Typo in tutorial #4

Reported by: emmanuelrousselle@… Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There is a typo in this tutorial: https://docs.djangoproject.com/en/1.5/intro/tutorial04/.

In the "Amend views" section, the text:

In our case, it’ll use the template "polls/poll_detail.html".

Should read:

In our case, it’ll use the template "polls/detail.html".

Change History (1)

comment:1 by Tim Graham, 11 years ago

Resolution: invalid
Status: newclosed

It's correct as is. Note the preceding sentence: "By default, the DetailView generic view uses a template called <app name>/<model name>_detail.html."

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