Author: Alex
Date: 2010-10-26 13:44:11 -0500 (Tue, 26 Oct 2010)
New Revision: 14358

Modified:
   django/trunk/docs/intro/tutorial04.txt
Log:
Corrected some typos in the tutorial, thanks to Brandon Height for the report.

Modified: django/trunk/docs/intro/tutorial04.txt
===================================================================
--- django/trunk/docs/intro/tutorial04.txt      2010-10-26 18:11:22 UTC (rev 
14357)
+++ django/trunk/docs/intro/tutorial04.txt      2010-10-26 18:44:11 UTC (rev 
14358)
@@ -238,16 +238,16 @@
     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'),

-- 
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.

Reply via email to