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:
6767 RQ_DEFAULT_PASSWORD = url .password
6868 RQ_DEFAULT_DB = 0
6969
70-
7170 @staticmethod
7271 def init_app (app ):
7372 pass
@@ -79,10 +78,10 @@ class DevelopmentConfig(Config):
7978 SQLALCHEMY_DATABASE_URI = os .environ .get ('DEV_DATABASE_URL' ) or \
8079 'sqlite:///' + os .path .join (basedir , 'data-dev.sqlite' )
8180
82-
8381 @classmethod
8482 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.' )
8685
8786
8887class TestingConfig (Config ):
@@ -91,10 +90,10 @@ class TestingConfig(Config):
9190 'sqlite:///' + os .path .join (basedir , 'data-test.sqlite' )
9291 WTF_CSRF_ENABLED = False
9392
94-
9593 @classmethod
9694 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.' )
9897
9998
10099class ProductionConfig (Config ):
You can’t perform that action at this time.
0 commit comments