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 489e90f commit 1e61f9bCopy full SHA for 1e61f9b
django_typer/management/__init__.py
@@ -1708,6 +1708,7 @@ def _resolve_help(dj_cmd: "TyperCommand"):
1708
elif (
1709
dj_cmd.typer_app.info.help
1710
and not dj_cmd.is_compound_command
1711
+ and dj_cmd.typer_app.registered_commands
1712
and not dj_cmd.typer_app.registered_commands[0].help
1713
):
1714
dj_cmd.typer_app.registered_commands[0].help = dj_cmd.typer_app.info.help
tests/settings/no_django_typer.py
@@ -0,0 +1,11 @@
1
+from .base import *
2
+
3
+INSTALLED_APPS = [
4
+ #"django_typer",
5
+ "django.contrib.admin",
6
+ "django.contrib.auth",
7
+ "django.contrib.contenttypes",
8
+ "django.contrib.sessions",
9
+ "django.contrib.messages",
10
+ "django.contrib.staticfiles",
11
+]
0 commit comments