Commit 2003d55e35add86c2723dc2be0bcb22bb532b5e4

Authored by fbormann
1 parent b263f0bb

following heroku static files tutorial

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
amadeus/settings.py
@@ -145,6 +145,8 @@ STATIC_URL = '/static/' @@ -145,6 +145,8 @@ STATIC_URL = '/static/'
145 #Static files heroku 145 #Static files heroku
146 STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') 146 STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
147 147
  148 +STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
  149 +
148 STATICFILES_DIRS = [ 150 STATICFILES_DIRS = [
149 os.path.join(BASE_DIR, "static") 151 os.path.join(BASE_DIR, "static")
150 ] 152 ]