summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-20 12:23:58 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-20 12:23:58 +0200
commite2199b283d13018d301fc102dbe08ab46a616998 (patch)
tree395368a98004ff7b5e80631f5a726034c454fe2f /example_project
parent0fb4dd2f90c550128f1336daa934df8a9c8e502e (diff)
downloadIshtar-e2199b283d13018d301fc102dbe08ab46a616998.tar.bz2
Ishtar-e2199b283d13018d301fc102dbe08ab46a616998.zip
Use django-compressor to compress CSS and JS - switch to html5 page declaration
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 6ca8cb5fc..90991ebd5 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -36,6 +36,12 @@ STATICFILES_DIRS = (
ROOT_PATH + "../static/",
)
+STATICFILES_FINDERS = (
+ 'django.contrib.staticfiles.finders.FileSystemFinder',
+ 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
+ 'compressor.finders.CompressorFinder',
+)
+
ODT_TEMPLATE = ROOT_PATH + "../ishtar_common/static/template.odt"
LOGIN_REDIRECT_URL = "/" + URL_PATH
@@ -155,6 +161,7 @@ INSTALLED_APPS = [
'archaeological_warehouse',
'archaeological_finds',
'ajax_select',
+ 'compressor',
# 'debug_toolbar',
]