[1.5.x] Fixed #19605 - Removed unused url imports from doc examples.

Thanks sergzach for the suggestion.

Backport of 43f89e0ad6 from master
This commit is contained in:
Tim Graham 2013-01-15 06:29:53 -05:00
parent 5a53f1043c
commit 360676d9d8
9 changed files with 17 additions and 17 deletions

View file

@ -176,7 +176,7 @@ decouple URLs from Python code.
Here's what a URLconf might look like for the ``Reporter``/``Article``
example above::
from django.conf.urls import patterns, url, include
from django.conf.urls import patterns
urlpatterns = patterns('',
(r'^articles/(\d{4})/$', 'news.views.year_archive'),