mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
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(
|
||||
models=Poll,
|
||||
template_name='polls/results.html'),
|
||||
'poll_results'),
|
||||
name='poll_results'),
|
||||
(r'^(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user