mirror of
https://github.com/django/daphne.git
synced 2025-07-13 17:32:17 +03:00
Remove --nostatic and --insecure args to runserver command if staticfiles app is not installed. (#559)
This commit is contained in:
parent
ce3e7f6156
commit
1502de002c
|
@ -73,6 +73,7 @@ class Command(RunserverCommand):
|
|||
"seconds (default: 5)"
|
||||
),
|
||||
)
|
||||
if apps.is_installed("django.contrib.staticfiles"):
|
||||
parser.add_argument(
|
||||
"--nostatic",
|
||||
action="store_false",
|
||||
|
|
Loading…
Reference in New Issue
Block a user