Upgrade to Django-Pipeline==1.6.8.

This commit is contained in:
Umair Khan
2016-07-04 12:33:57 +05:00
committed by Tim Abbott
parent 2d243c0703
commit 043ae8ad65
13 changed files with 74 additions and 81 deletions

View File

@@ -4,7 +4,7 @@ import os.path
# These URLs are available only in the development environment
use_prod_static = getattr(settings, 'PIPELINE', False)
use_prod_static = getattr(settings, 'PIPELINE_ENABLED', False)
static_root = os.path.join(settings.DEPLOY_ROOT, 'prod-static/serve' if use_prod_static else 'static')
urls = [url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': static_root})]