Merge pull request #351 from 1ntrud3r/patch-1

Remove unused imports in tutorial 4. refs #18915
This commit is contained in:
Tim Graham 2012-09-07 15:29:42 -07:00
commit 1d235b3914
1 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ Read on for details.
First, open the ``polls/urls.py`` URLconf. It looks like this, according to the
tutorial so far::
from django.conf.urls import patterns, include, url
from django.conf.urls import patterns, url
urlpatterns = patterns('polls.views',
url(r'^$', 'index'),
@ -229,7 +229,7 @@ tutorial so far::
Change it like so::
from django.conf.urls import patterns, include, url
from django.conf.urls import patterns, url
from django.views.generic import DetailView, ListView
from polls.models import Poll