mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
[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:
parent
5a53f1043c
commit
360676d9d8
9 changed files with 17 additions and 17 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue