# -*- coding: utf-8 -*- # vim: syntax=python tabstop=4 shiftwidth=4 softtabstop=4 # # BITE - A Basic/IoT/Example # Copyright (C) 2020-2021 Daniele ViganĂ² # # BITE is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # BITE is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . from bite 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! DEBUG = False ALLOWED_HOSTS = ['*'] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'bite', 'USER': 'bite', 'PASSWORD': 'password', 'HOST': 'timescale', 'PORT': '5432', } } REST_FRAMEWORK = { 'DEFAULT_RENDERER_CLASSES': ( 'rest_framework.renderers.JSONRenderer', ) } SKIP_WHITELIST = True