Skip to content

Commit

Permalink
More complicated way from jazzband/django-pipeline#293
Browse files Browse the repository at this point in the history
  • Loading branch information
sardor committed Aug 29, 2014
1 parent 8dce4c7 commit 198d997
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion watchmywallet/settings/production.py
Expand Up @@ -125,10 +125,12 @@ def get_env_setting(setting):
)
PIPELINE_CSS_COMPRESSOR = 'pipeline.compressors.yuglify.YuglifyCompressor'
# PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.yuglify.YuglifyCompressor'
STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
STATICFILES_FINDERS += (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'pipeline.finders.PipelineFinder',
'pipeline.finders.CachedFileFinder',
)
STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
PIPELINE_ENABLED = True
########## END PIPELINE CONFIGURATION

0 comments on commit 198d997

Please sign in to comment.