carnet_rouge #1

Merged
brocasm merged 12 commits from carnet_rouge into master 2023-06-04 08:51:26 +00:00
370 changed files with 19259 additions and 44657 deletions
Showing only changes of commit 243f87f563 - Show all commits

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