summaryrefslogtreecommitdiff
path: root/docs/ref/models/instances.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/models/instances.txt')
-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 8809eaf86a..4ab9dd3011 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -524,7 +524,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.defaults import *
+ from django.conf.urls import patterns, url, include
url(r'^people/(\d+)/$', 'blog_views.generic_detail', name='people_view'),