We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c640880 commit 2e37cb4Copy full SHA for 2e37cb4
src/management_commands/core.py
@@ -30,8 +30,8 @@ def import_command_class(dotted_path: str) -> type[BaseCommand]:
30
def get_command_paths(name: str, app_label: str | None = None) -> list[str]:
31
if not app_label:
32
app_names = [
33
- "django.core",
34
*(app_config.name for app_config in reversed(list(apps.get_app_configs()))),
+ "django.core",
35
]
36
37
modules_paths = [f"{module}.{name}.Command" for module in settings.MODULES]
0 commit comments