Use settings.PIPELINE_ENABLED instead of settings.FEATURES[USE_DJANGO_PIPELINE].
This commit is contained in:
@@ -62,8 +62,6 @@ from xmodule.mixin import LicenseMixin
|
||||
STUDIO_NAME = "Studio"
|
||||
STUDIO_SHORT_NAME = "Studio"
|
||||
FEATURES = {
|
||||
'USE_DJANGO_PIPELINE': True,
|
||||
|
||||
'GITHUB_PUSH': False,
|
||||
|
||||
# for consistency in user-experience, keep the value of the following 3 settings
|
||||
|
||||
@@ -22,7 +22,7 @@ except:
|
||||
group = rtl_group
|
||||
%>
|
||||
|
||||
% if settings.FEATURES['USE_DJANGO_PIPELINE']:
|
||||
% if settings.PIPELINE_ENABLED:
|
||||
${compressed_css(group, raw=raw)}
|
||||
% else:
|
||||
% for filename in settings.PIPELINE_CSS[group]['source_filenames']:
|
||||
@@ -32,7 +32,7 @@ except:
|
||||
</%def>
|
||||
|
||||
<%def name='js(group)'>
|
||||
% if settings.FEATURES['USE_DJANGO_PIPELINE']:
|
||||
% if settings.PIPELINE_ENABLED:
|
||||
${compressed_js(group)}
|
||||
% else:
|
||||
% for filename in settings.PIPELINE_JS[group]['source_filenames']:
|
||||
|
||||
@@ -64,8 +64,6 @@ DISCUSSION_SETTINGS = {
|
||||
|
||||
# Features
|
||||
FEATURES = {
|
||||
'USE_DJANGO_PIPELINE': True,
|
||||
|
||||
'DISPLAY_DEBUG_INFO_TO_STAFF': True,
|
||||
'DISPLAY_HISTOGRAMS_TO_STAFF': False, # For large courses this slows down courseware access for staff.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user