Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
chore(deps): use acdhch-default-settings instead of custom setup
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Dec 15, 2023
1 parent fc6f150 commit dfecc99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions discworld/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down

0 comments on commit dfecc99

Please sign in to comment.