File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ class Config:
67
67
RQ_DEFAULT_PASSWORD = url .password
68
68
RQ_DEFAULT_DB = 0
69
69
70
-
71
70
@staticmethod
72
71
def init_app (app ):
73
72
pass
@@ -79,10 +78,10 @@ class DevelopmentConfig(Config):
79
78
SQLALCHEMY_DATABASE_URI = os .environ .get ('DEV_DATABASE_URL' ) or \
80
79
'sqlite:///' + os .path .join (basedir , 'data-dev.sqlite' )
81
80
82
-
83
81
@classmethod
84
82
def init_app (cls , app ):
85
- print ('THIS APP IS IN DEBUG MODE. YOU SHOULD NOT SEE THIS IN PRODUCTION.' )
83
+ print ('THIS APP IS IN DEBUG MODE. \
84
+ YOU SHOULD NOT SEE THIS IN PRODUCTION.' )
86
85
87
86
88
87
class TestingConfig (Config ):
@@ -91,10 +90,10 @@ class TestingConfig(Config):
91
90
'sqlite:///' + os .path .join (basedir , 'data-test.sqlite' )
92
91
WTF_CSRF_ENABLED = False
93
92
94
-
95
93
@classmethod
96
94
def init_app (cls , app ):
97
- print ('THIS APP IS IN TESTING MODE. YOU SHOULD NOT SEE THIS IN PRODUCTION.' )
95
+ print ('THIS APP IS IN TESTING MODE. \
96
+ YOU SHOULD NOT SEE THIS IN PRODUCTION.' )
98
97
99
98
100
99
class ProductionConfig (Config ):
You can’t perform that action at this time.
0 commit comments