mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 01:48:21 +02:00
split settings config between development and production
This commit is contained in:
11
note_kfet/settings/__init__.py
Normal file
11
note_kfet/settings/__init__.py
Normal file
@ -0,0 +1,11 @@
|
||||
import os
|
||||
|
||||
from .base import *
|
||||
|
||||
app_stage = os.environ.get('DJANGO_APP_STAGE', 'dev')
|
||||
if app_stage == 'prod':
|
||||
from .production import *
|
||||
else:
|
||||
from .development import *
|
||||
|
||||
from .secrets import *
|
Reference in New Issue
Block a user