diff --git a/envs/common.py b/envs/common.py
index 2af02bd0b0..4fd5046792 100644
--- a/envs/common.py
+++ b/envs/common.py
@@ -34,7 +34,8 @@ PERFSTATS = False
# Features
MITX_FEATURES = {
- 'SAMPLE' : False
+ 'SAMPLE' : False,
+ 'USE_DJANGO_PIPELINE' : True,
}
# Used for A/B testing
diff --git a/envs/dev_ike.py b/envs/dev_ike.py
index 39a031748f..dd6ffa9176 100644
--- a/envs/dev_ike.py
+++ b/envs/dev_ike.py
@@ -27,6 +27,8 @@ DEBUG = True
ENABLE_MULTICOURSE = True # set to False to disable multicourse display (see lib.util.views.mitxhome)
QUICKEDIT = True
+MITX_FEATURES['USE_DJANGO_PIPELINE'] = False
+
COURSE_SETTINGS = {'6.002_Spring_2012': {'number' : '6.002x',
'title' : 'Circuits and Electronics',
'xmlpath': '/6002x/',
diff --git a/templates/main.html b/templates/main.html
index 807f8dec23..e51ae6195b 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -6,27 +6,35 @@
-## these two lines are broken (28may12)
-## <%static:css group='application'/>
-## <%static:js group='application'/>
+## these two lines need to run django-pipeline / sass
+% if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
+ <%static:css group='application'/>
+ <%static:js group='application'/>
+% endif
-## replace with this one line
+## use this in case django-pipeline is broken
+% if not settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
+% endif
-##
-
-
-
+
-## and these four lines
+## alternate codemirror
+##
+##
+##
+
+## use these four lines if django-pipeline is broken
+% if not settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
+% endif
## image input: for clicking on images (see imageinput.html)
diff --git a/templates/mathjax_include.html b/templates/mathjax_include.html
index 273efa4fa9..24d8a2615a 100644
--- a/templates/mathjax_include.html
+++ b/templates/mathjax_include.html
@@ -82,7 +82,9 @@ function DoUpdateMath(inputId) {
+
+## next two lines are alternate mathjax sources and configurations
##
+##
+
-
\ No newline at end of file