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:
parent
f810be610b
commit
4482c090f1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user