Opened 11 years ago
Closed 11 years ago
#20556 closed Bug (invalid)
RE: "Amend views" code
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
Possible Error noted in class DetailView / template_name.
It appears the value should be: 'polls/details.html' vs 'polls/detail.html'
(missing the "s")
Link:https://docs.djangoproject.com/en/1.5/intro/tutorial04/#amend-views
Note:
See TracTickets
for help on using tickets.
Hi,
I think the documentation is correct.
In part 3 [1], the name of the template that we created is
polls/detail.html
(no-s
).[1] https://docs.djangoproject.com/en/1.5/intro/tutorial03/#raising-a-404-error