6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-28 04:09:01 +00:00

Do not render partials/common directory

Subdirectories of partials/ folder are rendered, so we need to move the
common settings files to the partials/ folder.
This commit is contained in:
Régis Behmo 2019-10-18 14:54:09 +02:00
parent 11f7385276
commit 16e2e8fcb9
7 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
import os
from cms.envs.devstack import *
{% include "apps/openedx/settings/partials/common/cms.py" %}
{% include "apps/openedx/settings/partials/common_cms.py" %}
# Setup correct webpack configuration file for development
WEBPACK_CONFIG_PATH = "webpack.dev.config.js"

View File

@ -1,7 +1,7 @@
import os
from cms.envs.production import *
{% include "apps/openedx/settings/partials/common/cms.py" %}
{% include "apps/openedx/settings/partials/common_cms.py" %}
ALLOWED_HOSTS = [
ENV_TOKENS.get("CMS_BASE"),

View File

@ -1,7 +1,7 @@
import os
from lms.envs.devstack import *
{% include "apps/openedx/settings/partials/common/cms.py" %}
{% include "apps/openedx/settings/partials/common_cms.py" %}
# Setup correct webpack configuration file for development
WEBPACK_CONFIG_PATH = "webpack.dev.config.js"

View File

@ -1,7 +1,7 @@
import os
from lms.envs.production import *
{% include "apps/openedx/settings/partials/common/lms.py" %}
{% include "apps/openedx/settings/partials/common_lms.py" %}
ALLOWED_HOSTS = [
ENV_TOKENS.get("LMS_BASE"),

View File

@ -1,4 +1,4 @@
{% include "apps/openedx/settings/partials/common/all.py" %}
{% include "apps/openedx/settings/partials/common_all.py" %}
######## Common CMS settings

View File

@ -1,4 +1,4 @@
{% include "apps/openedx/settings/partials/common/all.py" %}
{% include "apps/openedx/settings/partials/common_all.py" %}
######## Common LMS settings