publik-django-templatetags/tests/project/settings.py

46 lines
1.1 KiB
Python

import os
DATABASES = {
'default': {
'ENGINE': os.environ.get('DB_ENGINE', 'django.db.backends.postgresql_psycopg2'),
'NAME': 'publik-django-templatetags-test-%s'
% os.environ.get("BRANCH_NAME", "").replace('/', '-')[:45],
}
}
KNOWN_SERVICES = {
'wcs': {
'default': {
'title': 'test',
'url': 'http://127.0.0.1:8999/',
'secret': 'combo',
'orig': 'combo',
'backoffice-menu-url': 'http://127.0.0.1:8999/backoffice/',
'secondary': False,
},
'other': {
'title': 'test2',
'url': 'http://127.0.0.2:8999/',
'secret': 'combo',
'orig': 'combo',
'backoffice-menu-url': 'http://127.0.0.2:8999/backoffice/',
'secondary': True,
},
},
}
REQUESTS_TIMEOUT = 25
DEBUG = True
USE_TZ = True
INSTALLED_APPS = [
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sites",
]
STATIC_URL = "/static/"
SITE_ID = 1
MIDDLEWARE_CLASSES = ()
LOGGING = {}
SECRET_KEY = "yay"