diff options
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 |
commit | b4ad4c2541a9bb6d7ce2704d2f7fae6aeb642cbb (patch) | |
tree | 395368a98004ff7b5e80631f5a726034c454fe2f /example_project | |
parent | 2d783c053e96120139efffa5f8280f64a8b44fe3 (diff) | |
download | Ishtar-b4ad4c2541a9bb6d7ce2704d2f7fae6aeb642cbb.tar.bz2 Ishtar-b4ad4c2541a9bb6d7ce2704d2f7fae6aeb642cbb.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.py | 7 |
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', ] |