From 4482c090f11b62ca45dc72da41d61204da05c53f Mon Sep 17 00:00:00 2001 From: Ben Cail Date: Fri, 20 Dec 2024 09:39:42 -0500 Subject: [PATCH] style another settings exc notice --- django/core/management/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 4dd7dbf031..6c86051326 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -272,7 +272,7 @@ class ManagementUtility: else: klass = load_command_class(app_name, subcommand) if self.settings_exception and klass.requires_settings: - sys.stderr.write(str(self.settings_exception) + "\n") + sys.stderr.write(self.style.NOTICE(str(self.settings_exception) + "\n")) sys.exit(1) return klass