We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f8f854 commit b9f7a40Copy full SHA for b9f7a40
main/settings.py
@@ -57,9 +57,7 @@
57
58
# Validate environment configuration on startup
59
# 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
-):
+if not get_bool("SKIP_ENV_VALIDATION", default=False):
63
try:
64
from main.env_validator import validate_environment_on_startup
65
0 commit comments