From ba66a418d09bf09dc3dad74e36db5d8fe75b8e55 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Fri, 29 May 2015 02:02:23 +0100 Subject: [PATCH] Change to using manifest static files as a cachebuster. This was far too easy, and will be dealt with automatically on each deployment. --- PyRIGS/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index a043e091..71e0b93b 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -188,7 +188,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.7/howto/static-files/ - +STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static/') STATIC_DIRS = (