Fixed #14519 -- corrected a type in the tutorial, thanks buriy for the report and fix.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2010-10-21 06:01:02 +00:00
parent 58af951c30
commit 7f84dac3c7
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ Change it like so::
DetailView.as_view(
models=Poll,
template_name='polls/results.html'),
'poll_results'),
name='poll_results'),
(r'^(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),
)