Skip to content

Commit

Permalink
removed unused import from tutorial 3 documentation as per ticket #18915
Browse files Browse the repository at this point in the history
  • Loading branch information
nmartini committed Sep 7, 2012
1 parent e1a37d5 commit 9ce5890
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/intro/tutorial03.txt
Expand Up @@ -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'),
Expand Down

0 comments on commit 9ce5890

Please sign in to comment.