debug off for prod, on for rest by default
This commit is contained in:
@@ -15,7 +15,8 @@
|
|||||||
|
|
||||||
|
|
||||||
# global debug setting
|
# global debug setting
|
||||||
DEBUG=True
|
if os.environ['FLASK_ENV'] != "production":
|
||||||
|
DEBUG=True
|
||||||
|
|
||||||
### SQLALCHEMY IMPORTS ###
|
### SQLALCHEMY IMPORTS ###
|
||||||
from sqlalchemy.ext.declarative import declarative_base
|
from sqlalchemy.ext.declarative import declarative_base
|
||||||
|
|||||||
Reference in New Issue
Block a user