2020-06-15 22:47:55 +02:00
|
|
|
# vim: syntax=python
|
|
|
|
|
2020-06-17 23:30:00 +02:00
|
|
|
from bite import settings
|
2020-06-15 22:47:55 +02:00
|
|
|
|
|
|
|
# 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',
|
2020-06-17 23:30:00 +02:00
|
|
|
'NAME': 'bite',
|
|
|
|
'USER': 'bite',
|
2020-06-15 22:47:55 +02:00
|
|
|
'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
|