This commit is contained in:
Dmytro Litvinov 2025-09-02 12:56:42 +03:00 committed by GitHub
commit 4cf44cdcd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
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"