From 285e765891149704cbd5ddb784887ad187416ef7 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 24 Dec 2013 19:00:29 +0100 Subject: Added release notes for app loading changes. --- docs/ref/applications.txt | 4 ++-- docs/ref/settings.txt | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'docs/ref') 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 `. +.. 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 -- cgit v1.3