Skip to content

Commit

Permalink
Have DJANGO_SETTINGS_MODULE reference an internal module
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernard Szabo committed Jan 8, 2025
1 parent eea9b79 commit 50bb3f2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Empty file added tubular/envs/__init__.py
Empty file.
Empty file added tubular/envs/production.py
Empty file.
2 changes: 1 addition & 1 deletion tubular/scripts/dd_synthetic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def run_synthetic_tests(enable_automated_rollbacks, slack_notification_channel):

try:
synthetic_tests_waffle_flag_name = "TUBULAR_ENABLE_SYNTHETIC_TESTS"
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lms.envs.production')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tubular.envs.production')
waffle_flag_enabled = get_setting(synthetic_tests_waffle_flag_name, False)
logging.info(f"{waffle_flag_enabled=}")

Expand Down

0 comments on commit 50bb3f2

Please sign in to comment.