16 lines
398 B
Python
16 lines
398 B
Python
import os
|
|
|
|
TIME_ZONE = 'Europe/Paris'
|
|
LANGUAGE_CODE = 'en-us'
|
|
|
|
REST_FRAMEWORK = {
|
|
'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.BasicAuthentication'],
|
|
}
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': os.environ.get('DB_ENGINE', 'django.db.backends.sqlite3'),
|
|
'TEST': {'NAME': 'chrono-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:63],},
|
|
}
|
|
}
|