mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 06:22:22 +00:00
Allow to use a local settings file
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
2155275627
commit
87038dd6f4
15
.gitignore
vendored
15
.gitignore
vendored
@ -15,16 +15,6 @@ coverage
|
|||||||
*.mo
|
*.mo
|
||||||
*.pot
|
*.pot
|
||||||
|
|
||||||
# Jupyter Notebook
|
|
||||||
.ipynb_checkpoints
|
|
||||||
|
|
||||||
# Spyder project settings
|
|
||||||
.spyderproject
|
|
||||||
.spyproject
|
|
||||||
|
|
||||||
# Rope project settings
|
|
||||||
.ropeproject
|
|
||||||
|
|
||||||
# PyCharm project settings
|
# PyCharm project settings
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
@ -32,7 +22,7 @@ coverage
|
|||||||
.vscode
|
.vscode
|
||||||
|
|
||||||
# Local data
|
# Local data
|
||||||
secrets.py
|
settings_local.py
|
||||||
*.log
|
*.log
|
||||||
media/
|
media/
|
||||||
output/
|
output/
|
||||||
@ -42,6 +32,3 @@ output/
|
|||||||
env/
|
env/
|
||||||
venv/
|
venv/
|
||||||
db.sqlite3
|
db.sqlite3
|
||||||
|
|
||||||
# Don't git index
|
|
||||||
whoosh_index/
|
|
||||||
|
@ -284,3 +284,8 @@ if TFJM_STAGE == "prod": # pragma: no cover
|
|||||||
from .settings_prod import * # noqa: F401,F403
|
from .settings_prod import * # noqa: F401,F403
|
||||||
else:
|
else:
|
||||||
from .settings_dev import * # noqa: F401,F403
|
from .settings_dev import * # noqa: F401,F403
|
||||||
|
|
||||||
|
try:
|
||||||
|
from .settings_local import *
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user