mirror of
https://github.com/django/django.git
synced 2025-04-22 08:14:37 +00:00
[1.9.x] Updated admindocs instructions for the deprecation of patterns().
Backport of 4dea29ec7b09e743268fff17d12171cc5498ae81 from master
This commit is contained in:
parent
ecb3e314cb
commit
2a7f9d68ea
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user