Merge remote-tracking branch 'origin/master' into nightly

This commit is contained in:
Overhang.IO 2023-05-16 10:28:38 +00:00
commit 91bdcb860c
1 changed files with 4 additions and 2 deletions

View File

@ -71,8 +71,10 @@ This imports the ``hooks`` module from Tutor, which grants us access to ``hooks.
::
hooks.Filters.ENV_PATCHES.add_item(
<name>,
<content>
(
<name>,
<content>
)
)
This means "add ``<content>`` to the ``{{ patch("<name>") }}`` statement, thanks to the :py:data:`tutor.hooks.Filters.ENV_PATCHES` filter". In our case, we want to modify the LMS settings, both in production and development. The right patch for that is :patch:`openedx-lms-common-settings`. We add one item, which is a single Python-formatted line of code::