1
0
mirror of https://github.com/django/django.git synced 2025-04-12 03:22:21 +00:00

Update settings error message

Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
This commit is contained in:
bcail 2024-12-20 08:49:43 -05:00 committed by GitHub
parent b7bd2182dc
commit 78a85f814b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -169,7 +169,7 @@ class Settings:
# If settings module cannot be imported, treat it as a configuration error.
if exc.name == self.SETTINGS_MODULE:
raise ImproperlyConfigured(
f"Settings module {self.SETTINGS_MODULE} could not be imported"
f"Settings module '{self.SETTINGS_MODULE}' could not be imported."
) from exc
raise