Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
111a4566
Commit
111a4566
authored
Oct 06, 2015
by
Usman Khalid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use settings.PIPELINE_ENABLED instead of settings.FEATURES[USE_DJANGO_PIPELINE].
parent
dbcd1bf4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
cms/envs/common.py
+0
-2
common/djangoapps/pipeline_mako/templates/static_content.html
+2
-2
lms/envs/common.py
+0
-2
No files found.
cms/envs/common.py
View file @
111a4566
...
...
@@ -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
...
...
common/djangoapps/pipeline_mako/templates/static_content.html
View file @
111a4566
...
...
@@ -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']:
...
...
lms/envs/common.py
View file @
111a4566
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment