Kaydet (Commit) fd95dc9e authored tarafından Tim Graham's avatar Tim Graham

Fixed #20763 -- Typo in tutorial 3.

Thanks crichard@ for the report.
üst bd92a12f
...@@ -182,7 +182,7 @@ slightly different, because they take an argument:: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment