From 713197b986eed0a4f77cf65eeeda66c58c20e393 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 7997961e..e7dbb448 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 = (