Move dev-mode setting to before urls are loaded
This commit is contained in:
parent
c375e6df78
commit
dc6c8077ad
1 changed files with 1 additions and 2 deletions
|
@ -14,7 +14,7 @@ sys.path.append(os.path.join(PROJECT_ROOT, 'vendor'))
|
||||||
|
|
||||||
|
|
||||||
### USER SETTINGS
|
### USER SETTINGS
|
||||||
|
DEV_MODE = os.environ.get("SYMPOSION_DEV_MODE", None)
|
||||||
DEBUG = os.environ.get('SYMPOSION_APP_DEBUG', '0')
|
DEBUG = os.environ.get('SYMPOSION_APP_DEBUG', '0')
|
||||||
if isinstance(DEBUG, str):
|
if isinstance(DEBUG, str):
|
||||||
try:
|
try:
|
||||||
|
@ -411,7 +411,6 @@ GAPC_STORAGE = {
|
||||||
'num_retries': 2,
|
'num_retries': 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
DEV_MODE = os.environ.get("SYMPOSION_DEV_MODE", None)
|
|
||||||
if DEV_MODE and DEV_MODE == "LAPTOP":
|
if DEV_MODE and DEV_MODE == "LAPTOP":
|
||||||
print("ENABLING LAPTOP MODE")
|
print("ENABLING LAPTOP MODE")
|
||||||
from .devmode_settings import *
|
from .devmode_settings import *
|
||||||
|
|
Loading…
Reference in a new issue