Skip to content

Commit b9f7a40

Browse files
committed
Remove settings module check
1 parent 2f8f854 commit b9f7a40

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main/settings.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@
5757

5858
# Validate environment configuration on startup
5959
# Skip validation during testing or when explicitly disabled
60-
if not get_bool("SKIP_ENV_VALIDATION", default=False) and "test" not in os.environ.get(
61-
"DJANGO_SETTINGS_MODULE", ""
62-
):
60+
if not get_bool("SKIP_ENV_VALIDATION", default=False):
6361
try:
6462
from main.env_validator import validate_environment_on_startup
6563

0 commit comments

Comments
 (0)