Development
This commit is contained in:
parent
99447b4987
commit
27f2356cd1
10 changed files with 241 additions and 6 deletions
|
|
@ -2,7 +2,7 @@ import os
|
|||
|
||||
|
||||
def is_production():
|
||||
return os.environ.get('PRODUCTION_MODE', '').lower() in ('1', 'true', 'yes')
|
||||
return not os.environ.get('DEV_MODE', '').lower() in ('1', 'true', 'yes')
|
||||
|
||||
|
||||
def is_pro():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue