2020-06-15 22:47:55 +02:00
|
|
|
# vim: syntax=python
|
|
|
|
|
|
|
|
from freedcs import settings
|
|
|
|
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
|
|
SECRET_KEY = 'i4z%50+4b4ek(l0#!w2-r1hpo%&r6tk7p$p_-(=6d!c9n=g5m&'
|
|
|
|
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
2020-06-16 22:48:58 +02:00
|
|
|
DEBUG = False
|
2020-06-15 22:47:55 +02:00
|
|
|
|
|
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': 'django.db.backends.postgresql',
|
|
|
|
'NAME': 'freedcs',
|
|
|
|
'USER': 'freedcs',
|
|
|
|
'PASSWORD': 'password',
|
|
|
|
'HOST': 'timescale',
|
|
|
|
'PORT': '5432',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-16 22:48:58 +02:00
|
|
|
REST_FRAMEWORK = {
|
|
|
|
'DEFAULT_RENDERER_CLASSES': (
|
|
|
|
'rest_framework.renderers.JSONRenderer',
|
|
|
|
)
|
2020-06-15 22:47:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
SKIP_WHITELIST = True
|