Opened 12 years ago
Closed 12 years ago
#20882 closed Bug (invalid)
Typo in tutorial #4
| Reported by: | 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".
Note:
See TracTickets
for help on using tickets.
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."