diff options
Diffstat (limited to 'example_project/settings.py')
-rw-r--r-- | example_project/settings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 8a7343212..09590f807 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -273,7 +273,7 @@ DOT_BINARY = "" TEST_RUNNER = 'ishtar_common.tests.ManagedModelTestRunner' try: - from local_settings import * + from .local_settings import * except ImportError as e: print('Unable to load local_settings.py:', e) @@ -316,7 +316,7 @@ if DEBUG: LOGGING['loggers'][logger]['handlers'] += ['console'] if USE_BACKGROUND_TASK: - INSTALLED_APPS.append('background_task') + CELERY_BROKER_URL = 'amqp://localhost' if DJANGO_EXTENSIONS: INSTALLED_APPS.append('django_extensions') |