From 0ce945a67151acf2c58bc35a47f4c3d45ff30085 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 1 Jan 2014 18:05:12 +0100 Subject: Fixed #21018 -- Reversed precedence order for management commands. --- django/core/management/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django') 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: -- cgit v1.3