t/integration/test_django_settings.py
raw| 1 | import logging |
| 2 | |
| 3 | logging.info("Initializing Django settings for Celery integration tests") |
| 4 | |
| 5 | DEBUG = True |
| 6 | INSTALLED_APPS = [ |
| 7 | 'django.contrib.contenttypes', |
| 8 | 'django.contrib.auth', |
| 9 | ] |
| 10 | |
| 11 | DATABASES = { |
| 12 | 'default': { |
| 13 | 'ENGINE': 'django.db.backends.sqlite3', |
| 14 | 'NAME': ':memory:', |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | CELERY_BROKER_URL = 'memory://' |
| 19 | CELERY_RESULT_BACKEND = 'cache+memory://' |