From 0c2e477ec82d0d18eba7fe9e27664b82a614143f Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 8 Sep 2016 15:20:17 +0200 Subject: [PATCH] Use ManifestStaticFilesStorage by default --- src/pretix/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pretix/settings.py b/src/pretix/settings.py index bc4722afbd..1a54125075 100644 --- a/src/pretix/settings.py +++ b/src/pretix/settings.py @@ -297,6 +297,8 @@ STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static') ] if os.path.exists(os.path.join(BASE_DIR, 'static')) else [] +STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' + # if os.path.exists(os.path.join(DATA_DIR, 'static')): # STATICFILES_DIRS.insert(0, os.path.join(DATA_DIR, 'static'))