Merge pull request #336 from dlo/tickets/18915
remove unused import in decoupling URLs tutorial, closes #18915
This commit is contained in:
commit
4321ee25c5
|
@ -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…
Reference in New Issue