Fixed some admin sphinx definitions so links work properly.

This commit is contained in:
Tim Graham 2014-01-19 20:29:09 -05:00
parent 6bbb820014
commit 6e7bd0b63b
1 changed files with 2 additions and 2 deletions

View File

@ -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 The easiest solution is to put ``'django.contrib.admin.apps.AdminConfig'`` in
your :setting:`INSTALLED_APPS` setting. your :setting:`INSTALLED_APPS` setting.
.. class:: django.contrib.admin.apps.AdminConfig .. class:: apps.AdminConfig
.. versionadded:: 1.7 .. versionadded:: 1.7
This class calls :func:`~django.contrib.admin.autodiscover()` when Django This class calls :func:`~django.contrib.admin.autodiscover()` when Django
starts. starts.
.. function:: django.contrib.admin.autodiscover .. function:: autodiscover
This function attempts to import an ``admin`` module in each installed This function attempts to import an ``admin`` module in each installed
application. Such modules are expected to register models with the admin. application. Such modules are expected to register models with the admin.