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:
parent
58af951c30
commit
7f84dac3c7
|
@ -249,7 +249,7 @@ Change it like so::
|
||||||
DetailView.as_view(
|
DetailView.as_view(
|
||||||
models=Poll,
|
models=Poll,
|
||||||
template_name='polls/results.html'),
|
template_name='polls/results.html'),
|
||||||
'poll_results'),
|
name='poll_results'),
|
||||||
(r'^(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),
|
(r'^(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue