summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
authorNick Martini <nmartini@orcasinc.com>2012-09-07 13:05:23 -0400
committerNick Martini <nmartini@orcasinc.com>2012-09-07 13:05:23 -0400
commit9ce58906af4a5f5a0739598ac10103fef3642419 (patch)
tree6998e8b2063c0002cf8260822ec092cc560dbd1f /docs/intro
parente1a37d55374a399dee9c302419fbe9badd92abb0 (diff)
downloaddjango-9ce58906af4a5f5a0739598ac10103fef3642419.tar.gz
removed unused import from tutorial 3 documentation as per ticket #18915
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/tutorial03.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
index 6d4fb7eef1..03d4bf68b3 100644
--- a/docs/intro/tutorial03.txt
+++ b/docs/intro/tutorial03.txt
@@ -513,11 +513,12 @@ Here's what happens if a user goes to "/polls/34/" in this system:
further processing.
Now that we've decoupled that, we need to decouple the ``polls.urls``
-URLconf by removing the leading "polls/" from each line, and removing the
-lines registering the admin site. Your ``polls/urls.py`` file should now look like
+URLconf by removing the leading "polls/" from each line, removing the
+lines registering the admin site, and removing the ``include`` import which
+is no longer used. Your ``polls/urls.py`` file should now look like
this::
- from django.conf.urls import patterns, include, url
+ from django.conf.urls import patterns, url
urlpatterns = patterns('polls.views',
url(r'^$', 'index'),