#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 Changed 20 months ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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