33 lines
1009 B
Python
33 lines
1009 B
Python
from .common import * # noqa
|
|
SECRET_KEY = env("DJANGO_SECRET_KEY", default='test')
|
|
|
|
# Mail settings
|
|
# ------------------------------------------------------------------------------
|
|
EMAIL_HOST = 'localhost'
|
|
EMAIL_PORT = 1025
|
|
EMAIL_BACKEND = env('DJANGO_EMAIL_BACKEND',
|
|
default='django.core.mail.backends.console.EmailBackend')
|
|
|
|
# CACHING
|
|
# ------------------------------------------------------------------------------
|
|
CACHES = {
|
|
'default': {
|
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
|
'LOCATION': ''
|
|
}
|
|
}
|
|
|
|
CELERY_BROKER_URL = 'memory://'
|
|
|
|
# TESTING
|
|
# ------------------------------------------------------------------------------
|
|
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
|
|
|
|
########## CELERY
|
|
# In development, all tasks will be executed locally by blocking until the task returns
|
|
CELERY_TASK_ALWAYS_EAGER = True
|
|
########## END CELERY
|
|
|
|
# Your local stuff: Below this line define 3rd party library settings
|
|
API_AUTHENTICATION_REQUIRED = False
|