summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-11-03 14:43:30 +0000
committerTim Graham <timograham@gmail.com>2015-11-03 14:50:15 +0000
commit2a7f9d68ead5cf5c2210d0e7dfad4e4ee3077493 (patch)
tree6a9b8a9987f46849cc1731c1f5ee48a36035e024 /docs
parentecb3e314cb0ce4b7fe65e208ea76557443ae6e06 (diff)
[1.9.x] Updated admindocs instructions for the deprecation of patterns().
Backport of 4dea29ec7b09e743268fff17d12171cc5498ae81 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/admin/admindocs.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/admindocs.txt b/docs/ref/contrib/admin/admindocs.txt
index 241e12da36..fbb185ff4b 100644
--- a/docs/ref/contrib/admin/admindocs.txt
+++ b/docs/ref/contrib/admin/admindocs.txt
@@ -28,7 +28,7 @@ To activate the :mod:`~django.contrib.admindocs`, you will need to do
the following:
* Add :mod:`django.contrib.admindocs` to your :setting:`INSTALLED_APPS`.
-* Add ``(r'^admin/doc/', include('django.contrib.admindocs.urls'))`` to
+* Add ``url(r'^admin/doc/', include('django.contrib.admindocs.urls'))`` to
your ``urlpatterns``. Make sure it's included *before* the
``r'^admin/'`` entry, so that requests to ``/admin/doc/`` don't get
handled by the latter entry.