Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/decisions/0022-settings-simplification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ Accepted

Implementation tracked by: https://github.com/openedx/edx-platform/issues/36215

Context for Readers
*******************

This document describes a long-term architectural effort to simplify how Django settings are structured and derived
within edx-platform.

It is primarily intended for platform maintainers and operators. Contributors who are new to edx-platform, Tutor,
or Open edX configuration may find it helpful to first review the general configuration documentation before diving
into this proposal.

This decision focuses on architectural direction and incremental refactoring rather than immediate user-facing
behavior changes.

Context
*******

Expand Down
9 changes: 8 additions & 1 deletion lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2472,7 +2472,14 @@
# require student context.
MODULESTORE_FIELD_OVERRIDE_PROVIDERS = ('openedx.features.content_type_gating.'
'field_override.ContentTypeGatingFieldOverride',)

# .. toggle_name: HOMEPAGE_COURSE_MAX
# .. toggle_implementation: DjangoSetting
# .. toggle_default: None
# .. toggle_description: Controls the maximum number of courses displayed on the LMS homepage.
# If set to None, all available courses will be shown. Useful for operators who want to limit the homepage length.
# .. toggle_use_cases: open_edx
# .. toggle_creation_date: 2025-11-24
# .. toggle_tickets: https://github.com/openedx/edx-platform/issues/37585
# Sets the maximum number of courses listed on the homepage
# If set to None, all courses will be listed on the homepage
HOMEPAGE_COURSE_MAX = None
Expand Down
Loading