1
0
mirror of https://github.com/django/django.git synced 2025-01-23 08:39:17 +00:00

remove unused import in tutorial 4 addition to #18915 (closed)

After submitting ticket #18915, I noticed 2 additional occurrences of the issue.
This commit is contained in:
Enrico Ehrhardt 2012-09-07 23:26:37 +03:00
parent 3a10bcc917
commit e78f2f6a63

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