#14519: Tutorial 4 uses wrong syntax for name ---------------------------+------------------------------------------------ Reporter: buriy | Owner: buriy Status: new | Milestone: 1.3 Component: Documentation | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ---------------------------+------------------------------------------------ From http://code.djangoproject.com/browser/django/trunk/docs/intro/tutorial04.txt :
{{{ 248 url(r'^(?P<pk>\d+)/results/$', 249 DetailView.as_view( 250 models=Poll, 251 template_name='polls/results.html'), 252 'poll_results'), }}} Correct: {{{ 248 url(r'^(?P<pk>\d+)/results/$', 249 DetailView.as_view( 250 models=Poll, 251 template_name='polls/results.html'), 252 name='poll_results'), }}} -- Ticket URL: <http://code.djangoproject.com/ticket/14519> Django <http://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-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.