summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-24 19:00:29 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-24 20:16:56 +0100
commit285e765891149704cbd5ddb784887ad187416ef7 (patch)
tree9fd6aff1a053d546930ae8e6cc2e3fa0f03ca62f /docs/ref
parentdbe2fb632de6d4e116f00f9e74b583a5bdc051a9 (diff)
Added release notes for app loading changes.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/applications.txt4
-rw-r--r--docs/ref/settings.txt9
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt
index 0f5090cf1a..5d13d0d4d8 100644
--- a/docs/ref/applications.txt
+++ b/docs/ref/applications.txt
@@ -124,8 +124,8 @@ Application registry
.. method:: django.apps.apps.get_app_config(app_label, only_with_models_module=False)
Returns an :class:`~django.apps.AppConfig` for the application with the
- given ``app_label``. Raises :exc:`LookupError` if no such application
- exists.
+ given ``app_label``. Raises :exc:`~exceptions.LookupError` if no such
+ application exists.
If only applications containing a models module are of interest, this method
can be called with ``only_with_models_module=True``.
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index fbd06976cc..d82f68a2a4 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -1290,6 +1290,15 @@ Django installation. Each string should be a full Python path to an
application configuration class or to a Python package containing a
application. :ref:` Learn more about applications </ref/applications>`.
+.. versionchanged:: 1.7
+
+ :setting:`INSTALLED_APPS` now supports application configurations.
+
+.. admonition:: Use the application registry for introspection
+
+ Your code should never access :setting:`INSTALLED_APPS` directly. Use the
+ app registry, :attr:`~django.apps.apps`, instead.
+
.. admonition:: Application labels must be unique
Application labels (that is, the final part of the dotted path to