mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
[1.5.x] Fixed #20763 -- Typo in tutorial 3.
Thanks crichard@ for the report. Backport of fd95dc9e27 from master
This commit is contained in:
parent
2e068d4e5a
commit
3f97c33a9f
@ -182,7 +182,7 @@ slightly different, because they take an argument::
|
|||||||
def vote(request, poll_id):
|
def vote(request, poll_id):
|
||||||
return HttpResponse("You're voting on poll %s." % poll_id)
|
return HttpResponse("You're voting on poll %s." % poll_id)
|
||||||
|
|
||||||
Wire these news views into the ``polls.urls`` module by adding the following
|
Wire these new views into the ``polls.urls`` module by adding the following
|
||||||
:func:`~django.conf.urls.url` calls::
|
:func:`~django.conf.urls.url` calls::
|
||||||
|
|
||||||
from django.conf.urls import patterns, url
|
from django.conf.urls import patterns, url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user