diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-10 11:26:14 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 16:15:49 +0100 |
commit | 1292e6705f257ae0b93c356c7d4913d0188c1611 (patch) | |
tree | 2621dda5ebc6941b94ca04347bf4c5bab45a3df4 /example_project/settings.py | |
parent | 77bbd511f65fc812f0b889c4c137cb5e96a84129 (diff) | |
download | Ishtar-1292e6705f257ae0b93c356c7d4913d0188c1611.tar.bz2 Ishtar-1292e6705f257ae0b93c356c7d4913d0188c1611.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 3c0accc82..3ac6c2fb8 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -321,15 +321,15 @@ 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" TEST_RUNNER = "ishtar_common.tests.ManagedModelTestRunner" 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 = [] @@ -461,6 +461,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: |