Opened 4 years ago

Closed 4 years ago

#20556 closed Bug (invalid)

RE: "Amend views" code

Reported by: propjk007@… 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

Change History (1)

comment:1 Changed 4 years ago by Baptiste Mispelon

Resolution: invalid
Status: newclosed

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

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