Skip to content

Hoist production.py defaults into common.py #36892

Open
@kdmccormick

Description

@kdmccormick

Currently at the top of both the lms/envs/production.py file and cms/envs/production.py file, there are settings that are being explicitly set.

The goal of the production.py files is to facilitate overriding defaults which are specific to a deployment but in most of the cases here, the defaults at the top of these files are just sensible production defaults that should be set in the relevant {lms,cms}/envs/common.py or openedx/envs/common.py setting file. The common files should house the default settings needed for production and the test.py and devstack.py files should override them with anything needed for development.

As a part of this task, we should re-organize and change the defaults in the various common.py files such that we can remove these defaults from the production.py files.

This should be done in a way that does not change the rendered settings for operators:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions