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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user