From 966dd21474565eb9dd45af82a13d8ecfa89bbd7d Mon Sep 17 00:00:00 2001 From: Birger Schacht Date: Wed, 29 Nov 2023 13:18:47 +0100 Subject: [PATCH] fix: use default-settings Closes: #28 --- apis_ontology/settings.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/apis_ontology/settings.py b/apis_ontology/settings.py index e573ad1..bdb900b 100644 --- a/apis_ontology/settings.py +++ b/apis_ontology/settings.py @@ -1,14 +1,10 @@ import os -# from apis_acdhch_default_settings.settings import * -import dj_database_url +from apis_acdhch_default_settings.settings import * SECRET_KEY = os.environ.get("SECRET_KEY") DEBUG = True -ALLOWED_HOSTS = [] - - # Application definition INSTALLED_APPS = [ @@ -76,19 +72,14 @@ }, ] -DATABASES = {"default": dj_database_url.config(conn_max_age=600)} - STATIC_URL = '/static/' STATIC_ROOT = '/tmp/staticfiles' REDMINE_ID = "" -ALLOWED_CIDR_NETS = ["10.0.0.0/8", "127.0.0.0/8"] PROJECT_DEFAULT_MD = {} -ALLOWED_HOSTS = ["oebl-pnp.acdh-dev.oeaw.ac.at", "localhost"] - CSRF_TRUSTED_ORIGINS = ["https://oebl-pnp.acdh-dev.oeaw.ac.at"]