mirror of
https://github.com/django/daphne.git
synced 2025-09-10 17:32:27 +03:00
Merge 3c713d7e7d
into 032c5608f9
This commit is contained in:
commit
4cf44cdcd0
|
@ -104,9 +104,12 @@ class Command(RunserverCommand):
|
|||
if hasattr(RunserverCommand, "server_cls"):
|
||||
self.server_cls = RunserverCommand.server_cls
|
||||
return RunserverCommand.inner_run(self, *args, **options)
|
||||
# Run checks
|
||||
self.stdout.write("Performing system checks...\n\n")
|
||||
self.check(display_num_errors=True)
|
||||
|
||||
if not options["skip_checks"]:
|
||||
# Run checks
|
||||
self.stdout.write("Performing system checks...\n\n")
|
||||
self.check(display_num_errors=True)
|
||||
|
||||
self.check_migrations()
|
||||
# Print helpful text
|
||||
quit_command = "CTRL-BREAK" if sys.platform == "win32" else "CONTROL-C"
|
||||
|
|
Loading…
Reference in New Issue
Block a user