diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-17 12:51:43 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-11-05 16:06:08 +0100 |
| commit | 6722a44e46743968d9fbe6a8856e61fc32b5e87e (patch) | |
| tree | 96cdfe58e91e99b3b17e62572433bff16cf48d03 /example_project/settings.py | |
| parent | 992da9be2c8c2af222d3cce54ebfcaa7d9b01a49 (diff) | |
| download | Ishtar-6722a44e46743968d9fbe6a8856e61fc32b5e87e.tar.bz2 Ishtar-6722a44e46743968d9fbe6a8856e61fc32b5e87e.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 6e93515e3..57efd7dcc 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: |
