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:50:26 -0500
commit43f89e0ad6fa111f3d53dfa71786353e0265bf39 (patch)
tree75289d23ad8463e61d42e4e328ecad0260625f16 /docs/ref/models
parent2f8ab2f1b09ae8858720af53df77f19e83bd8f66 (diff)
Fixed #19605 - Removed unused url imports from doc examples.
Thanks sergzach for the suggestion.
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'),