Skip to content

Consolidate duplicate LMS and CMS settings into platform wide settings #37107

@wgu-taylor-payne

Description

@wgu-taylor-payne

Overview

#36941 introduced the openedx/envs/common.py settings module as a place to put settings shared across the LMS and CMS. In that PR, explicitly shared settings (ones that were being imported into cms/envs/common.py from lms/envs/common.py) we're brought up into openedx/envs/common.py.

This task is to build upon that work and now bring up any setting which is declared in both lms/envs/common.py and cms/envs/common.py and which shares the same value. Make sure to bring any documentation along, and merge the documentation together appropriately if it differs between the LMS and CMS. The settings annotations defined in openedx/envs/common.py will appear in the Platform-Wide Settings section of the settings reference.

Testing

Use the same, or a similar approach to #36941, to make sure that the rendered settings between master and the feature branch do not differ in any significant way.

Notes

This task is part of the effort to simplify settings as outlined in ADR 0022 - Django settings simplification.

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