diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-02-16 17:34:25 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-02-16 17:34:25 +0100 |
commit | b805e19e3e549dfd05baa7de2ed5da4c543da47b (patch) | |
tree | 446a4ae5fbb20313697a9fb0ba36d717a78a49d5 /install | |
parent | 5f7daac6e37d925c46ee282d2c2f2f8f641cb6e9 (diff) | |
download | Ishtar-b805e19e3e549dfd05baa7de2ed5da4c543da47b.tar.bz2 Ishtar-b805e19e3e549dfd05baa7de2ed5da4c543da47b.zip |
Celery: fix extra_settings import
Diffstat (limited to 'install')
-rw-r--r-- | install/local_settings.py.sample | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/install/local_settings.py.sample b/install/local_settings.py.sample index aecad17a6..7c6bac348 100644 --- a/install/local_settings.py.sample +++ b/install/local_settings.py.sample @@ -39,4 +39,7 @@ DATABASES = { try: from extra_settings import * except ImportError as e: - print('Unable to load extra_settings.py:', e) + try: + from .extra_settings import * # relative import for celery + except ImportError as e: + print('Unable to load extra_settings.py:', e) |