Commit a9b2c37fd5a9122be5cc7c195605eabb5b14286b

Authored by Sergio Oliveira
1 parent 18b66839

Added md5 hashes to static file names

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
colab/settings.py
@@ -93,6 +93,8 @@ MEDIA_ROOT = '/usr/share/nginx/colab/media/' @@ -93,6 +93,8 @@ MEDIA_ROOT = '/usr/share/nginx/colab/media/'
93 STATIC_URL = '/static/' 93 STATIC_URL = '/static/'
94 MEDIA_URL = '/media/' 94 MEDIA_URL = '/media/'
95 95
  96 +STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
  97 +
96 98
97 # Normally you should not import ANYTHING from Django directly 99 # Normally you should not import ANYTHING from Django directly
98 # into your settings, but ImproperlyConfigured is an exception. 100 # into your settings, but ImproperlyConfigured is an exception.