1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 09:08:50 +02:00

Allow to use a local settings file

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-02-24 08:45:59 +01:00
parent 2155275627
commit 87038dd6f4
2 changed files with 6 additions and 14 deletions

View File

@ -284,3 +284,8 @@ if TFJM_STAGE == "prod": # pragma: no cover
from .settings_prod import * # noqa: F401,F403
else:
from .settings_dev import * # noqa: F401,F403
try:
from .settings_local import *
except ImportError:
pass