diff --git a/config.py b/config.py index a97948eef8f6babda020e9f308bc92e97d0c9aed..1a5d9d8b7eddb8a0e77035cbd219e9fb09ad4a77 100644 --- a/config.py +++ b/config.py @@ -3,3 +3,26 @@ import os class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' + + @staticmethod + def init_app(app): + pass + + +class DevelopmentConfig(Config): + DEBUG = True + + +# class TestingConfig(Config): + + +# class ProductionConfig(Config): + + +config = { + 'development': DevelopmentConfig, + # 'testing': TestingConfig, + # 'production': ProductionConfig, + + 'default': DevelopmentConfig +}