From a9b2c37fd5a9122be5cc7c195605eabb5b14286b Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 4 Nov 2014 10:42:41 -0200 Subject: [PATCH] Added md5 hashes to static file names --- colab/settings.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/colab/settings.py b/colab/settings.py index 663eaf0..86bf394 100644 --- a/colab/settings.py +++ b/colab/settings.py @@ -93,6 +93,8 @@ MEDIA_ROOT = '/usr/share/nginx/colab/media/' STATIC_URL = '/static/' MEDIA_URL = '/media/' +STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' + # Normally you should not import ANYTHING from Django directly # into your settings, but ImproperlyConfigured is an exception. -- libgit2 0.21.2