diff --git a/.gitignore b/.gitignore index e3712f0..ef3880d 100644 --- a/.gitignore +++ b/.gitignore @@ -363,6 +363,7 @@ MigrationBackup/ FodyWeavers.xsd /venv/ +Reskreen/server_config.py ./db.sqlite3 media/ /mycaldav/export.pdf diff --git a/Reskreen/settings.py b/Reskreen/settings.py index c7c6f11..1d39094 100644 --- a/Reskreen/settings.py +++ b/Reskreen/settings.py @@ -12,6 +12,7 @@ https://docs.djangoproject.com/en/4.0/ref/settings/ from pathlib import Path import os +from Reskreen.server_config import * # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -27,9 +28,6 @@ SECRET_KEY = 'django-insecure-j4jd&+4j^t_=@zr(#q@n!8e*58vkql6&_6w-t14ju8pw%ei%^s DEBUG = True - -cfg_dev_mode = True - ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"] if cfg_dev_mode: ALLOWED_HOSTS.append("127.0.0.1") diff --git a/templates/admin/index.html b/templates/admin/index_save.html similarity index 100% rename from templates/admin/index.html rename to templates/admin/index_save.html