#20277: polls/urls.py error -------------------------------+------------------------------------------ Reporter: henry.monma@… | Owner: nobody Type: Bug | Status: new Component: Documentation | Version: 1.5 Severity: Normal | Keywords: tutorial, configuration, url Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+------------------------------------------ There is a error in the Tutorial when configuring polls/urls.py https://docs.djangoproject.com/en/1.5/intro/tutorial03/
It is written: url(r'^(?P<poll_id>\d+)/$', views.detail, name='detail'), url(r'^(?P<poll_id>\d+)/results/$', views.results, name='results'), url(r'^(?P<poll_id>\d+)/vote/$', views.vote, name='vote'), When it should be: url(r'^/(?P<poll_id>\d+)/$', views.detail, name='detail'), url(r'^/(?P<poll_id>\d+)/results/$', views.results, name='results'), url(r'^/(?P<poll_id>\d+)/vote/$', views.vote, name='vote'), Put the slash ...^/(?... -- Ticket URL: <https://code.djangoproject.com/ticket/20277> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.