summaryrefslogtreecommitdiff
path: root/django/core
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-01-01 18:05:12 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-01-01 18:11:15 +0100
commit0ce945a67151acf2c58bc35a47f4c3d45ff30085 (patch)
tree717f04846c00278778470f1b02162dbff1121aa0 /django/core
parentf17d00278ee4a22421dc8148588d94fe7fa17427 (diff)
Fixed #21018 -- Reversed precedence order for management commands.
Diffstat (limited to 'django/core')
-rw-r--r--django/core/management/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py
index 1b9597ee3d..33cef35b4c 100644
--- a/django/core/management/__init__.py
+++ b/django/core/management/__init__.py
@@ -120,7 +120,7 @@ def get_commands():
# a settings module.
django.setup()
app_configs = apps.get_app_configs()
- app_names = [app_config.name for app_config in app_configs]
+ app_names = [app_config.name for app_config in reversed(app_configs)]
# Find and load the management module for each installed app.
for app_name in app_names: