diff options
| author | Tim Graham <timograham@gmail.com> | 2014-01-19 20:29:09 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-01-19 20:29:09 -0500 |
| commit | 6e7bd0b63bd01949ac4fd647f2597639bed0c3a2 (patch) | |
| tree | 11362382bf249ba8af01c6bd41a407c079fc1b47 | |
| parent | 6bbb82001455efb39a57c8ccfe09ff027633eced (diff) | |
Fixed some admin sphinx definitions so links work properly.
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 12d64d427a..e53207c2b0 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -140,14 +140,14 @@ The admin needs to be instructed to look for ``admin.py`` 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 starts. -.. 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. |
