Merge pull request #9059 from edx/andya/faster-update-assets

Don't package or optimize assets on devstack
This commit is contained in:
Andy Armstrong
2015-09-08 16:48:11 -04:00
6 changed files with 101 additions and 36 deletions

View File

@@ -85,8 +85,17 @@ def should_show_debug_toolbar(_):
########################### PIPELINE #################################
# # Skip RequireJS optimizer in development
STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
# Skip packaging and optimization in development
STATICFILES_STORAGE = 'pipeline.storage.NonPackagingPipelineStorage'
# Revert to the default set of finders as we don't want the production pipeline
STATICFILES_FINDERS = [
'staticfiles.finders.FileSystemFinder',
'staticfiles.finders.AppDirectoriesFinder',
]
# Disable JavaScript compression in development
PIPELINE_JS_COMPRESSOR = None
# Whether to run django-require in debug mode.
REQUIRE_DEBUG = DEBUG