Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Enabled cached static files on www, too.

  • Loading branch information...
commit ee1c21885b29466aa50cf318ce36e72d959b60e6 1 parent b99af31
Jannis Leidel authored June 21, 2013
2  django_docs/settings.py
@@ -47,8 +47,6 @@
47 47
 USE_I18N = True
48 48
 LANGUAGE_CODE = 'en'
49 49
 
50  
-STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.CachedStaticFilesStorage'
51  
-
52 50
 ### Docs settings
53 51
 
54 52
 if PRODUCTION:
2  django_www/common_settings.py
@@ -122,6 +122,8 @@
122 122
 
123 123
 STATICFILES_DIRS = [BASE.child('static')]
124 124
 
  125
+STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.CachedStaticFilesStorage'
  126
+
125 127
 STATIC_ROOT = BASE.child('static_root')
126 128
 
127 129
 STATIC_URL = '/s/'

0 notes on commit ee1c218

Please sign in to comment.
Something went wrong with that request. Please try again.