diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-11-24 10:41:00 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-06-23 12:02:59 +0200 |
| commit | 366d7fe0389c3843ebff715023b478fb6eaba4ae (patch) | |
| tree | aedc91d298983befb15a5699ac2a2f2cf3c13e56 /example_project/settings.py | |
| parent | 2d35cbaaf2ace08690e1101b8a0383f293561039 (diff) | |
| download | Ishtar-366d7fe0389c3843ebff715023b478fb6eaba4ae.tar.bz2 Ishtar-366d7fe0389c3843ebff715023b478fb6eaba4ae.zip | |
🚀 Debian package: delete unecessary files, adapt and add install templates
Diffstat (limited to 'example_project/settings.py')
| -rw-r--r-- | example_project/settings.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 6fbff266e..2350a6863 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -335,7 +335,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" @@ -344,8 +344,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 = [] @@ -479,6 +479,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: |
