adaptation de fusion

This commit is contained in:
Ambulance Clerc
2023-06-04 10:48:23 +02:00
parent 0730f7426b
commit 243f87f563
3 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@@ -363,6 +363,7 @@ MigrationBackup/
FodyWeavers.xsd
/venv/
Reskreen/server_config.py
./db.sqlite3
media/
/mycaldav/export.pdf

View File

@@ -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")