summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-02-09 04:03:52 +0100
committerDan McGee <dan@archlinux.org>2013-02-09 04:03:52 +0100
commit8d79a1ea84756b016fb76d940e95a8885d014dae (patch)
tree28fd74d84d886760dc87aa4cc459188348674e65 /settings.py
parentf98ff8cd22185c11dccdbe19b5bb7ed849b38e6b (diff)
downloadarchweb-8d79a1ea84756b016fb76d940e95a8885d014dae.tar.gz
archweb-8d79a1ea84756b016fb76d940e95a8885d014dae.tar.xz
Minify static files when running collectstatic
This doesn't do any super optimizations, but does run the very basic cssmin and jsmin Python tools over the static resources we serve up. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index c856bf5..559a55a 100644
--- a/settings.py
+++ b/settings.py
@@ -90,7 +90,7 @@ STATICFILES_DIRS = (
)
# Static files backend that allows us to use far future Expires headers
-STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.CachedStaticFilesStorage'
+STATICFILES_STORAGE = 'main.storage.MinifiedStaticFilesStorage'
# Configure where messages should reside
MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'