Commit 3761f3b1 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Corrected some typos in the tutorial, thanks to Brandon Height for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 851f42ba
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -238,16 +238,16 @@ Change it like so::
    urlpatterns = patterns('',
        (r'^$',
            ListView.as_view(
                models=Poll,
                model=Poll,
                context_object_name='latest_poll_list',
                template_name='polls/index.html')),
        (r'^(?P<pk>\d+)/$',
            DetailView.as_view(
                models=Poll,
                model=Poll,
                template_name='polls/detail.html')),
        url(r'^(?P<pk>\d+)/results/$',
            DetailView.as_view(
                models=Poll,
                model=Poll,
                template_name='polls/results.html'),
            name='poll_results'),
        (r'^(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),