mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
29 lines
431 B
Python
29 lines
431 B
Python
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
|
|
}
|