Skip to content
Browse files

Fixed some admin sphinx definitions so links work properly.

  • Loading branch information...
1 parent 6bbb820 commit 6e7bd0b63bd01949ac4fd647f2597639bed0c3a2 @timgraham timgraham committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/contrib/admin/index.txt
4 docs/ref/contrib/admin/index.txt
@@ -140,14 +140,14 @@ The admin needs to be instructed to look for ```` files in your project.
The easiest solution is to put ``'django.contrib.admin.apps.AdminConfig'`` in
your :setting:`INSTALLED_APPS` setting.
-.. class:: django.contrib.admin.apps.AdminConfig
+.. class:: apps.AdminConfig
.. versionadded:: 1.7
This class calls :func:`~django.contrib.admin.autodiscover()` when Django
-.. function:: django.contrib.admin.autodiscover
+.. function:: autodiscover
This function attempts to import an ``admin`` module in each installed
application. Such modules are expected to register models with the admin.

0 comments on commit 6e7bd0b

Please sign in to comment.
Something went wrong with that request. Please try again.