Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enabled cached static files on www, too.

  • Loading branch information...
commit ee1c21885b29466aa50cf318ce36e72d959b60e6 1 parent b99af31
@jezdez jezdez authored
Showing with 2 additions and 2 deletions.
  1. +0 −2  django_docs/settings.py
  2. +2 −0  django_www/common_settings.py
View
2  django_docs/settings.py
@@ -47,8 +47,6 @@
USE_I18N = True
LANGUAGE_CODE = 'en'
-STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.CachedStaticFilesStorage'
-
### Docs settings
if PRODUCTION:
View
2  django_www/common_settings.py
@@ -122,6 +122,8 @@
STATICFILES_DIRS = [BASE.child('static')]
+STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.CachedStaticFilesStorage'
+
STATIC_ROOT = BASE.child('static_root')
STATIC_URL = '/s/'
Please sign in to comment.
Something went wrong with that request. Please try again.