From f735dbb93e5767d4b5cc1d26ad83e420264beabb Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 3 Nov 2015 14:43:30 +0000 Subject: [PATCH] [1.8.x] Updated admindocs instructions for the deprecation of patterns(). Backport of 4dea29ec7b09e743268fff17d12171cc5498ae81 from master --- docs/ref/contrib/admin/admindocs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/admin/admindocs.txt b/docs/ref/contrib/admin/admindocs.txt index 040dc25fe0..6be06d4fc1 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.