Introduce config file for application

This commit is contained in:
Rebecca Law
2015-11-24 09:40:14 +00:00
parent e14780f7b5
commit b83d2f0d8a
6 changed files with 46 additions and 27 deletions

20
config.py Normal file
View File

@@ -0,0 +1,20 @@
class Config(object):
DEBUG = False
ASSETS_DEBUG = False
cache = False
manifest = True
class Development(Config):
DEBUG = True
class Test(Config):
DEBUG = False
configs = {
'development': Development,
'TEST': Test
}