summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-01-15 06:29:53 -0500
committerTim Graham <timograham@gmail.com>2013-01-15 07:52:06 -0500
commit360676d9d86ed36a2ffcf1318904b2b56cfae641 (patch)
tree3fca3eae2f65e48c1d25a90c016d4be83f276d37 /docs/ref/models
parent5a53f1043cc86feef82864e4f5a57de78d57664b (diff)
[1.5.x] Fixed #19605 - Removed unused url imports from doc examples.
Thanks sergzach for the suggestion. Backport of 43f89e0ad6 from master
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/instances.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 4479e4b766..92071b8d3f 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -601,7 +601,7 @@ pattern, it's possible to give a name to a pattern, and then reference the name
rather than the view function. A named URL pattern is defined by replacing the
pattern tuple by a call to the ``url`` function)::
- from django.conf.urls import patterns, url, include
+ from django.conf.urls import url
url(r'^people/(\d+)/$', 'blog_views.generic_detail', name='people_view'),