Keeping settings/vmdev.py up to speed
authorCharles Connell <charles@connells.org>
Fri, 25 Apr 2014 14:05:15 +0000 (10:05 -0400)
committerCharles Connell <charles@connells.org>
Fri, 25 Apr 2014 14:05:15 +0000 (10:05 -0400)
karmaworld/settings/dev.py
karmaworld/settings/prod.py
karmaworld/settings/vmdev.py

index 30c8378c74e4db1db33a97cdbf788a2cdae96d30..01a9e3fe653063fd732e95d2c76adc367f48aa7b 100644 (file)
@@ -84,10 +84,6 @@ INTERNAL_IPS = ('127.0.0.1',)
 MIDDLEWARE_CLASSES += (
     'debug_toolbar.middleware.DebugToolbarMiddleware',
 )
-
-DEBUG_TOOLBAR_CONFIG = {
-    'INTERCEPT_REDIRECTS': False # Don't interrput our redirects!
-}
 ########## END TOOLBAR CONFIGURATION
 
 ########## COMPRESSION CONFIGURATION
index 88462abb837d9cb39d84cbd53d0b51950f5f5e44..bd63ab762a55ed17734c5f6bf28264280522df4f 100644 (file)
@@ -165,7 +165,6 @@ COMPRESS_CLOSURE_COMPILER_BINARY = 'java -jar /usr/bin/compiler.jar'
 
 # Links generated by compress are valid for about ten years
 AWS_QUERYSTRING_EXPIRE = 60 * 60 * 24 * 365 * 10
-
 ########## END COMPRESSION CONFIGURATION
 
 
index 2d873fdfe89a38750b0f1074df5b7d9aa6effdeb..33b99bdb2f52b058e75500f7157d0d6a6561b983 100644 (file)
@@ -158,13 +158,17 @@ COMPRESS_STORAGE = DEFAULT_FILE_STORAGE
 
 # See: http://django_compressor.readthedocs.org/en/latest/settings/#django.conf.settings.COMPRESS_CSS_FILTERS
 COMPRESS_CSS_FILTERS += [
-    'compressor.filters.cssmin.CSSMinFilter',
+    'compressor.filters.css_default.CssAbsoluteFilter',
 ]
 
 # See: http://django_compressor.readthedocs.org/en/latest/settings/#django.conf.settings.COMPRESS_JS_FILTERS
 COMPRESS_JS_FILTERS += [
-    'compressor.filters.jsmin.JSMinFilter',
+    'compressor.filters.closure.ClosureCompilerFilter',
 ]
+COMPRESS_CLOSURE_COMPILER_BINARY = 'java -jar /usr/bin/compiler.jar'
+
+# Links generated by compress are valid for about ten years
+AWS_QUERYSTRING_EXPIRE = 60 * 60 * 24 * 365 * 10
 ########## END COMPRESSION CONFIGURATION
 
 
@@ -201,8 +205,4 @@ INTERNAL_IPS = ('127.0.0.1',)
 MIDDLEWARE_CLASSES += (
     'debug_toolbar.middleware.DebugToolbarMiddleware',
 )
-
-DEBUG_TOOLBAR_CONFIG = {
-    'INTERCEPT_REDIRECTS': False # Don't interrput our redirects!
-}
 ########## END TOOLBAR CONFIGURATION