diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-01 18:05:12 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-01 18:11:15 +0100 |
| commit | 0ce945a67151acf2c58bc35a47f4c3d45ff30085 (patch) | |
| tree | 717f04846c00278778470f1b02162dbff1121aa0 /docs/releases | |
| parent | f17d00278ee4a22421dc8148588d94fe7fa17427 (diff) | |
Fixed #21018 -- Reversed precedence order for management commands.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.7.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index b559445e7c..fced7a7508 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -697,6 +697,18 @@ following changes that take effect immediately: * The ``only_installed`` argument of ``get_model`` and ``get_models`` no longer exists, nor does the ``seed_cache`` argument of ``get_model``. +Management commands and order of :setting:`INSTALLED_APPS` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +When several applications provide management commands with the same name, +Django loads the command from the application that comes first in +:setting:`INSTALLED_APPS`. Previous versions loaded the command from the +applicatino that came last. + +This brings discovery of management commands in line with other parts of +Django that rely on the order of :setting:`INSTALLED_APPS`, such as static +files, templates, and translations. + Behavior of ``LocMemCache`` regarding pickle errors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
