summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py6
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"