adaptation de fusion
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -363,6 +363,7 @@ MigrationBackup/
|
|||||||
FodyWeavers.xsd
|
FodyWeavers.xsd
|
||||||
/venv/
|
/venv/
|
||||||
|
|
||||||
|
Reskreen/server_config.py
|
||||||
./db.sqlite3
|
./db.sqlite3
|
||||||
media/
|
media/
|
||||||
/mycaldav/export.pdf
|
/mycaldav/export.pdf
|
||||||
|
@@ -12,6 +12,7 @@ https://docs.djangoproject.com/en/4.0/ref/settings/
|
|||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import os
|
import os
|
||||||
|
from Reskreen.server_config import *
|
||||||
|
|
||||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
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
|
DEBUG = True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cfg_dev_mode = True
|
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"]
|
ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"]
|
||||||
if cfg_dev_mode:
|
if cfg_dev_mode:
|
||||||
ALLOWED_HOSTS.append("127.0.0.1")
|
ALLOWED_HOSTS.append("127.0.0.1")
|
||||||
|
Reference in New Issue
Block a user