mirror of https://github.com/django/django.git
[1.7.x] Fixed a confusing heading in applications docs.
Refs #22422.
Backport of 0315f01
from master
This commit is contained in:
parent
c050ce7de2
commit
788fce4c91
|
@ -307,10 +307,10 @@ Application registry
|
|||
exists. Raises :exc:`~exceptions.ValueError` when called with a single
|
||||
argument that doesn't contain exactly one dot.
|
||||
|
||||
.. _application-loading-process:
|
||||
.. _applications-troubleshooting:
|
||||
|
||||
Application loading process
|
||||
===========================
|
||||
Troubleshooting
|
||||
===============
|
||||
|
||||
Django loads application configurations and models as soon as it starts. Here
|
||||
are some common problems you may encounter:
|
||||
|
@ -343,8 +343,8 @@ are some common problems you may encounter:
|
|||
results. The code will be executed when you first need its results. This
|
||||
concept is known as "lazy evaluation".
|
||||
|
||||
* ``django.contrib.admin`` will now automatically perform autodiscovery of
|
||||
``admin`` modules in installed applications. To prevent it, change your
|
||||
* ``django.contrib.admin`` automatically performs autodiscovery of ``admin``
|
||||
modules in installed applications. To prevent it, change your
|
||||
:setting:`INSTALLED_APPS` to contain
|
||||
``'django.contrib.admin.apps.SimpleAdminConfig'`` instead of
|
||||
``'django.contrib.admin'``.
|
||||
|
|
|
@ -877,7 +877,7 @@ Start-up sequence
|
|||
|
||||
Django 1.7 loads application configurations and models as soon as it starts.
|
||||
While this behavior is more straightforward and is believed to be more robust,
|
||||
regressions cannot be ruled out. See :ref:`application-loading-process` for
|
||||
regressions cannot be ruled out. See :ref:`applications-troubleshooting` for
|
||||
solutions to some problems you may encounter.
|
||||
|
||||
Standalone scripts
|
||||
|
|
Loading…
Reference in New Issue