fix [server]: neater dev/prod settings
This commit is contained in:
parent
b16d7e31ae
commit
64fbfe376b
1 changed files with 6 additions and 0 deletions
6
server/ulm_cine_club_api/settings/__init__.py
Normal file
6
server/ulm_cine_club_api/settings/__init__.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
import os
|
||||||
|
IS_LOCAL_DEV = bool(os.environ.get("TELESCOOP_DEV"))
|
||||||
|
if IS_LOCAL_DEV:
|
||||||
|
from .dev import *
|
||||||
|
else:
|
||||||
|
from .production import *
|
Loading…
Reference in a new issue