mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
remove unused import in decoupling URLs tutorial, closes #18915
The `include` function isn't used in polls/urls.py.
This commit is contained in:
parent
39aa8901e1
commit
07b3d39d10
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ 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
|
||||
this::
|
||||
|
||||
from django.conf.urls import patterns, include, url
|
||||
from django.conf.urls import patterns, url
|
||||
|
||||
urlpatterns = patterns('polls.views',
|
||||
url(r'^$', 'index'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue