Files
notifications-admin/config.py

28 lines
568 B
Python
Raw Normal View History

2015-11-24 09:40:14 +00:00
class Config(object):
DEBUG = False
ASSETS_DEBUG = False
cache = False
manifest = True
SQLALCHEMY_COMMIT_ON_TEARDOWN = False
SQLALCHEMY_RECORD_QUERIES = True
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/notifications_admin'
MAX_FAILED_LOGIN_COUNT = 10
SECRET_KEY = 'secret-key-unique-changeme'
2015-11-24 09:40:14 +00:00
class Development(Config):
DEBUG = True
class Test(Config):
DEBUG = False
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/test_notifications_admin'
2015-11-24 09:40:14 +00:00
configs = {
'development': Development,
'test': Test
2015-11-24 09:40:14 +00:00
}