#12485 closed (fixed)
Add Links to poll tutorial
Reported by: | gungadin | Owned by: | Derek Willis |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | link, suggestion, tutorial | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Just a suggestion to make the poll tutorial application a little more user friendly. Just need to add/modify a couple lines on two of the templates. The first lets the user vote again on the poll after he votes. The second turns the listing of the polls on the index page into links so that the user can click the link to pick his poll.
On the results.html add the line at the bottom:
<a href="http://127.0.0.1:8000/polls/{{ object.id }}/">Vote again?</a>
And on the poll_list.html or index.html add this line in the middle:
<li><a href="http://127.0.0.1:8000/polls/{{ object.id }}/">{{ object.question }}</a></li>
Thanks for the great tutorial. It really makes it easy to learn django. I'm looking forward to the other tutorials.
Attachments (2)
Change History (9)
comment:1 by , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
by , 15 years ago
Attachment: | 0001-added-links-to-poll-tutorial.patch added |
---|
comment:2 by , 15 years ago
milestone: | → 1.3 |
---|---|
Owner: | changed from | to
Version: | 1.1 → SVN |
comment:3 by , 15 years ago
Status: | new → assigned |
---|
by , 15 years ago
Attachment: | 12485.patch added |
---|
comment:4 by , 15 years ago
Has patch: | set |
---|
comment:5 by , 15 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [12527]) Fixed #12485 -- Added links to polls templates in tutorial. Thanks, gungadin for ticket and Derek Willis for patch.