Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

fix: remove DJANGO_SETTINGS_MODULE env from lms, cms#1045

Merged
iamsobanjaved merged 1 commit intomasterfrom
iamsobanjaved/fix-lms-devstack
Apr 4, 2023
Merged

fix: remove DJANGO_SETTINGS_MODULE env from lms, cms#1045
iamsobanjaved merged 1 commit intomasterfrom
iamsobanjaved/fix-lms-devstack

Conversation

@iamsobanjaved
Copy link
Copy Markdown
Contributor

we are using EDX_PLATFORM_SETTINGS env variable for picking settings file to use with Django management commands. When this env variable is set to lms.envs.devstack_docker, with dev image being used with devstack, it picks that settings for running tests too as it has higher precedence than the settings in ini file. So removing this, so the test settings can be picked from ini file.


I've completed each of the following or determined they are not applicable:

  • Made a plan to communicate any major developer interface changes (or N/A)

we are using `EDX_PLATFORM_SETTINGS` env variable for picking settings file to use with Django management commands. When this env variable is set to `lms.envs.devstack_docker`, with dev image being
used with devstack, it picks that settings for running tests too as it has higher precedence than the settings in ini file. So removing this, so the test settings can be picked from ini file.
@iamsobanjaved iamsobanjaved merged commit 2f73b08 into master Apr 4, 2023
@iamsobanjaved iamsobanjaved deleted the iamsobanjaved/fix-lms-devstack branch April 4, 2023 11:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants