changeset 1019:d00747d2f43e

Turn on ManifestStaticFilesStorage on production.
author Brian Neal <bgneal@gmail.com>
date Mon, 07 Dec 2015 18:19:37 -0600
parents 02ae9a4a846a
children a052798c146c
files sg101/settings/production.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sg101/settings/production.py	Sun Dec 06 21:49:39 2015 -0600
+++ b/sg101/settings/production.py	Mon Dec 07 18:19:37 2015 -0600
@@ -24,6 +24,7 @@
 CONN_MAX_AGE = 1200
 
 STATIC_ROOT = os.path.abspath(os.path.join(PROJECT_PATH, '..', 'static_serve'))
+STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
 
 # Used cached template loader
 TEMPLATE_LOADERS = [