diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-01-31 17:27:58 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-07-01 18:02:28 +0200 |
commit | 207eae08a99901229e99b106144a0b24b4b2f55d (patch) | |
tree | 2c9441cbda25b215610d8464405479f9dfaeaa56 /example_project | |
parent | 1c599550547f2fe0acf6b116d5f1708098b1b414 (diff) | |
download | Ishtar-207eae08a99901229e99b106144a0b24b4b2f55d.tar.bz2 Ishtar-207eae08a99901229e99b106144a0b24b4b2f55d.zip |
settings: alternate location for bootstrap_datepicker
Diffstat (limited to 'example_project')
-rw-r--r-- | example_project/settings.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 44e703104..3c3b35859 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -50,8 +50,12 @@ STATICFILES_FINDERS = ( 'compressor.finders.CompressorFinder', ) +BS_STATIC = ROOT_PATH + "../bootstrap_datepicker/static" +if not os.path.exists(BS_STATIC): + BS_STATIC = "/usr/lib/python3/dist-packages/bootstrap_datepicker/" + STATICFILES_DIRS = ( - ROOT_PATH + "../bootstrap_datepicker/static", + BS_STATIC, ) ODT_TEMPLATE = ROOT_PATH + "../ishtar_common/static/template.odt" |