Commit 0315f010 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed a confusing heading in applications docs.

Refs #22422.
parent f65eb15a
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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'``.
+1 −1
Original line number Diff line number Diff line
@@ -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