summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-01-12 11:56:29 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-02-09 13:08:03 +0100
commit723c02bfd4cc65d7dc1f82322b000550bd0b05c4 (patch)
tree9bef42d245c845bca7a5d63ce2256cfd12bef3e2 /example_project
parent9b42c6eef88336b819250904a15945e8f052ad4d (diff)
downloadIshtar-723c02bfd4cc65d7dc1f82322b000550bd0b05c4.tar.bz2
Ishtar-723c02bfd4cc65d7dc1f82322b000550bd0b05c4.zip
🚀 Debian package: delete unecessary files, adapt and add install templates
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index e251bd74a..9fd0f70ef 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -326,7 +326,7 @@ DATA_UPLOAD_MAX_NUMBER_FIELDS = 10240
# path to the "dot" program to generate graph
DOT_BINARY = "/usr/bin/dot"
-PDFTOPPM_BINARY = ""
+PDFTOPPM_BINARY = "/usr/bin/pdftoppm"
UNOCONV_BINARY = "/usr/bin/unoconv"
@@ -335,8 +335,8 @@ SELENIUM_TEST = False
CELERY_BROKER_URL = ""
SENTRY_ID = None
DISTRIBUTION = "source"
-LIB_BASE_PATH = ROOT_PATH + "../"
-FIXTURE_AUTH_PATH = ROOT_PATH + "../"
+LIB_BASE_PATH = "/usr/lib/python3/dist-packages/"
+FIXTURE_AUTH_PATH = "/usr/share/python3-django-ishtar/"
SHARE_BASE_PATH = FIXTURE_AUTH_PATH
AUTH_PASSWORD_VALIDATORS = []
@@ -470,6 +470,11 @@ def filter_irrelevant_errors(event, hint):
return event
+try:
+ from custom_settings import *
+except ImportError:
+ pass
+
if SENTRY_ID and sentry_sdk:
sentry_integrations = [DjangoIntegration()]
if USE_BACKGROUND_TASK: