Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions daphne/management/commands/runserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,12 @@ def inner_run(self, *args, **options):
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"
Expand Down