summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-24 23:43:47 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-28 09:42:59 +0100
commitbb8ec71f61066587aa3a8feb0aedab213422775a (patch)
treea0c56cd92a456d87d041a80ce590b115a435a014 /docs/releases
parentaff57793b46e108c6e48d5ce3b889bf90b513df9 (diff)
Updated the AppCommand API to support apps without a models module.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.7.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index 5aba3ca096..2c3e3f217d 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -593,6 +593,10 @@ methods are only referring to fields or other items in ``model._meta``.
App-loading changes
~~~~~~~~~~~~~~~~~~~
+Subclasses of :class:`~django.core.management.AppCommand` must now implement a
+:meth:`~django.core.management.AppCommand.handle_app_config` method instead of
+``handle_app()``. This method receives an :class:`~django.apps.AppConfig` instance.
+
Since :setting:`INSTALLED_APPS` now supports application configuration classes
in addition to application modules, you should review code that accesses this
setting directly and use the app registry (:attr:`django.apps.apps`) instead.