Skip to content

Commit

Permalink
fix: use default-settings
Browse files Browse the repository at this point in the history
Closes: #28
  • Loading branch information
b1rger committed Nov 29, 2023
1 parent ae9f8d6 commit 966dd21
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions apis_ontology/settings.py
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down Expand Up @@ -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"]


Expand Down

0 comments on commit 966dd21

Please sign in to comment.