Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#12485 closed (fixed)

Add Links to poll tutorial

Reported by: gungadin Owned by: Derek Willis
Component: Documentation Version: master
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: UI/UX:

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)

0001-added-links-to-poll-tutorial.patch (1.7 KB) - added by Derek Willis 7 years ago.
12485.patch (1.7 KB) - added by Derek Willis 7 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 7 years ago by Russell Keith-Magee

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Changed 7 years ago by Derek Willis

comment:2 Changed 7 years ago by Derek Willis

milestone: 1.3
Owner: changed from nobody to Derek Willis
Version: 1.1SVN

comment:3 Changed 7 years ago by Derek Willis

Status: newassigned

Changed 7 years ago by Derek Willis

Attachment: 12485.patch added

comment:4 Changed 7 years ago by Derek Willis

Has patch: set

comment:5 Changed 7 years ago by Derek Willis

Triage Stage: AcceptedReady for checkin

comment:6 Changed 7 years ago by jbronn

Resolution: fixed
Status: assignedclosed

(In [12527]) Fixed #12485 -- Added links to polls templates in tutorial. Thanks, gungadin for ticket and Derek Willis for patch.

comment:7 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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