#19275: small bug in tutorial code -------------------------------+-------------------------------- Reporter: ryanmcneely@… | Owner: nobody Type: Bug | Status: new Component: Documentation | Version: 1.4 Severity: Normal | Keywords: Tutorial, Template Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------- Hello! I'm working through your tutorial (which is great, by the way), and I've found a small problem with the 'detail.html' template code in part 4 of the tutorial.
You have this on line 5 (i've removed the brackets): form action="/polls/{{ poll.id }}/vote/" method="post" This produces a 404 error which says "...polls/1/vote cannot be found." The tutorial suggests that this action SHOULD take us to the results page, which it doesn't until I replace the word 'vote' with 'results' on the same line: form action="/polls/{{ poll.id }}/results/" method="post" This fixes the problem, but I just want to make sure I'm not screwing something up by doing this, so I humbly present my findings to you for review. I have attached a screen shot. thank you! RYAN. -- Ticket URL: <https://code.djangoproject.com/ticket/19275> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.