1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

style another settings exc notice

This commit is contained in:
Ben Cail 2024-12-20 09:39:42 -05:00
parent f810be610b
commit 4482c090f1

View File

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