Opened 17 years ago
Closed 17 years ago
#5844 closed (invalid)
Part 4 of the Tutorial is missing another step at the end
Reported by: | Harry Park | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | tutorial | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In this section:
The vote() view is still required. However, it must be modified to match the new templates and context variables. Change the template call from polls/detail.html to polls/poll_detail.html, and pass object in the context instead of poll.
You should also make a note that they need to update results.html. They need to change the reference in the template page from poll to object.
Note:
See TracTickets
for help on using tickets.
The section on using the generic view, two paragraphs up, already explains this.