I've spent a few days working through the First App tutorial, and have mostly got everything working, but I haven't been able to figure out why I'm getting an extra slash appended after 'polls' when clicking on the name of the poll http://127.0.0.1:8000/polls//. This gives me an error page with:
Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order: 1.^polls/ ^$ 2.^polls/ ^(?P<object_id>\d+)/$ 3.^polls/ ^(?P<object_id>\d+)/results/$ 4.^polls/ ^(?P<poll_id>\d+)/vote/$ 5.^polls/ ^admin/ 6.^admin/ The current URL, polls//, didn't match any of these. I also get this if I go manually to one of the polls pages and click the 'Vote' button. I've gone through all the code many times and can't see anything I've done wrong. Admittedly some of the documentation is hard to follow, but I think I've got everything correct. The three templates in the end should be called 'poll_detail.html', 'poll_list.html' and results.html, if I understood everything properly. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.