mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 06:07:56 +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:
parent
11f7385276
commit
16e2e8fcb9
@ -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"
|
||||
|
@ -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"),
|
||||
|
@ -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"
|
||||
|
@ -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"),
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% include "apps/openedx/settings/partials/common/all.py" %}
|
||||
{% include "apps/openedx/settings/partials/common_all.py" %}
|
||||
|
||||
######## Common CMS settings
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% include "apps/openedx/settings/partials/common/all.py" %}
|
||||
{% include "apps/openedx/settings/partials/common_all.py" %}
|
||||
|
||||
######## Common LMS settings
|
||||
|
Loading…
Reference in New Issue
Block a user