diff --git a/discworld/settings.py b/discworld/settings.py index fc7686f..17e23a4 100644 --- a/discworld/settings.py +++ b/discworld/settings.py @@ -11,7 +11,6 @@ """ from pathlib import Path -import dj_database_url # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -150,8 +149,4 @@ CRISPY_TEMPLATE_PACK = "bootstrap4" DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap4.html" -ALLOWED_CIDR_NETS = ["10.0.0.0/8", "127.0.0.0/8"] -ALLOWED_HOSTS = ["discworld.acdh-ch-dev.oeaw.ac.at", "localhost"] -DATABASES = {"default": dj_database_url.config(conn_max_age=600)} STATIC_ROOT = '/tmp/staticfiles' - diff --git a/pyproject.toml b/pyproject.toml index 72320ff..5da87c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,8 +9,7 @@ packages = [{include = "apis_ontology"}, {include = "discworld"}] [tool.poetry.dependencies] python = "^3.11" apis-core = {git = "https://github.com/acdh-oeaw/apis-core-rdf", rev = "v0.8.1"} -django-allow-cidr = "^0.7.1" -dj-database-url = "^2.1.0" +apis-acdhch-default-settings = "^0.1.15" psycopg2 = "^2.9.9"