소스 검색

Updated admindocs instructions for the deprecation of patterns().

Tim Graham 9 년 전
부모
커밋
4dea29ec7b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/ref/contrib/admin/admindocs.txt

+ 1 - 1
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.