diff options
author | Dan McGee <dan@archlinux.org> | 2013-02-08 21:03:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-02-08 21:03:52 -0600 |
commit | 8d79a1ea84756b016fb76d940e95a8885d014dae (patch) | |
tree | 28fd74d84d886760dc87aa4cc459188348674e65 /settings.py | |
parent | f98ff8cd22185c11dccdbe19b5bb7ed849b38e6b (diff) |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.py b/settings.py index c856bf57..559a55a0 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' |