From 072c3a1a15db43ebb03b11347a40469f4c51640a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Wed, 15 Apr 2020 23:50:56 +0200 Subject: [PATCH] Add `openedx-development-settings` patch --- CHANGELOG.md | 1 + tutor/templates/apps/openedx/settings/cms/development.py | 1 + tutor/templates/apps/openedx/settings/lms/development.py | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9306583..74c1fd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥". ## Unreleased +- [Improvement] Add `openedx-development-settings` patch to patch the LMS and the CMS simultaneously in development - [Bugfix] Fix missing celery tasks in the CMS ## v3.11.10 (2020-04-14) diff --git a/tutor/templates/apps/openedx/settings/cms/development.py b/tutor/templates/apps/openedx/settings/cms/development.py index 0a9be15..a17f430 100644 --- a/tutor/templates/apps/openedx/settings/cms/development.py +++ b/tutor/templates/apps/openedx/settings/cms/development.py @@ -7,4 +7,5 @@ from cms.envs.devstack import * # Setup correct webpack configuration file for development WEBPACK_CONFIG_PATH = "webpack.dev.config.js" +{{ patch("openedx-development-settings") }} {{ patch("openedx-cms-development-settings") }} \ No newline at end of file diff --git a/tutor/templates/apps/openedx/settings/lms/development.py b/tutor/templates/apps/openedx/settings/lms/development.py index 8d720fd..24bca3e 100644 --- a/tutor/templates/apps/openedx/settings/lms/development.py +++ b/tutor/templates/apps/openedx/settings/lms/development.py @@ -9,4 +9,5 @@ OAUTH_OIDC_ISSUER = "{{ JWT_COMMON_ISSUER }}" # Setup correct webpack configuration file for development WEBPACK_CONFIG_PATH = "webpack.dev.config.js" +{{ patch("openedx-development-settings") }} {{ patch("openedx-lms-development-settings") }}