mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-02-02 09:28:25 +00:00
De-duplicate asset settings
This commit is contained in:
parent
56850683b3
commit
cb0e2c509d
@ -1,21 +1,6 @@
|
||||
"""
|
||||
Bare minimum settings for collecting production assets.
|
||||
"""
|
||||
from ..common import *
|
||||
from openedx.core.lib.derived import derive_settings
|
||||
{% include "build/openedx/settings/partials/assets.py" %}
|
||||
|
||||
|
||||
COMPREHENSIVE_THEME_DIRS.append('/openedx/themes')
|
||||
STATIC_ROOT_BASE = '/openedx/staticfiles'
|
||||
STATIC_ROOT = path(STATIC_ROOT_BASE) / 'studio'
|
||||
WEBPACK_LOADER['DEFAULT']['STATS_FILE'] = STATIC_ROOT / "webpack-stats.json"
|
||||
|
||||
SECRET_KEY = 'secret'
|
||||
XQUEUE_INTERFACE = {
|
||||
'django_auth': None,
|
||||
'url': None,
|
||||
}
|
||||
DATABASES = {
|
||||
"default": {},
|
||||
}
|
||||
derive_settings(__name__)
|
||||
|
@ -1,20 +1,6 @@
|
||||
"""
|
||||
Bare minimum settings for collecting production assets.
|
||||
"""
|
||||
from ..common import *
|
||||
from openedx.core.lib.derived import derive_settings
|
||||
{% include "build/openedx/settings/partials/assets.py" %}
|
||||
|
||||
COMPREHENSIVE_THEME_DIRS.append('/openedx/themes')
|
||||
STATIC_ROOT_BASE = '/openedx/staticfiles'
|
||||
STATIC_ROOT = path(STATIC_ROOT_BASE)
|
||||
WEBPACK_LOADER['DEFAULT']['STATS_FILE'] = STATIC_ROOT / "webpack-stats.json"
|
||||
|
||||
SECRET_KEY = 'secret'
|
||||
XQUEUE_INTERFACE = {
|
||||
'django_auth': None,
|
||||
'url': None,
|
||||
}
|
||||
DATABASES = {
|
||||
"default": {},
|
||||
}
|
||||
derive_settings(__name__)
|
||||
|
17
tutor/templates/build/openedx/settings/partials/assets.py
Normal file
17
tutor/templates/build/openedx/settings/partials/assets.py
Normal file
@ -0,0 +1,17 @@
|
||||
"""
|
||||
Bare minimum settings for collecting production assets.
|
||||
"""
|
||||
from ..common import *
|
||||
from openedx.core.lib.derived import derive_settings
|
||||
|
||||
COMPREHENSIVE_THEME_DIRS.append('/openedx/themes')
|
||||
STATIC_ROOT_BASE = '/openedx/staticfiles'
|
||||
|
||||
SECRET_KEY = 'secret'
|
||||
XQUEUE_INTERFACE = {
|
||||
'django_auth': None,
|
||||
'url': None,
|
||||
}
|
||||
DATABASES = {
|
||||
"default": {},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user