1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Fixed #21018 -- Reversed precedence order for management commands.

This commit is contained in:
Aymeric Augustin
2014-01-01 18:05:12 +01:00
parent f17d00278e
commit 0ce945a671
10 changed files with 50 additions and 2 deletions

View File

@@ -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: