This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2020-07-14 13:39:01 +02:00
|
|
|
import os
|
|
|
|
|
2017-04-21 11:43:59 +02:00
|
|
|
# Add corbo hobo agent
|
2020-12-08 22:24:34 +01:00
|
|
|
try:
|
|
|
|
import hobo
|
|
|
|
INSTALLED_APPS = ('corbo.hobo_agent', 'hobo.agent.common') + INSTALLED_APPS
|
|
|
|
except ImportError:
|
|
|
|
pass
|
|
|
|
|
2020-04-12 11:05:05 +02:00
|
|
|
|
|
|
|
REST_FRAMEWORK['DEFAULT_AUTHENTICATION_CLASSES'] = ['rest_framework.authentication.BasicAuthentication']
|
2020-07-14 13:39:01 +02:00
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': os.environ.get('DB_ENGINE', 'django.db.backends.sqlite3'),
|
2020-07-17 08:02:44 +02:00
|
|
|
'TEST': {'NAME': 'corbo-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:63],},
|
2020-07-14 13:39:01 +02:00
|
|
|
}
|
|
|
|
}
|