28 lines
448 B
Python
28 lines
448 B
Python
import os
|
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
|
class Config(object):
|
|
DEBUG = False
|
|
TESTING = False
|
|
CSRF_ENABLED = True
|
|
SECRET_KEY = 'this-really-needs-to-be-changed'
|
|
|
|
|
|
class ProductionConfig(Config):
|
|
DEBUG = False
|
|
|
|
|
|
class StagingConfig(Config):
|
|
DEVELOPMENT = True
|
|
DEBUG = True
|
|
|
|
|
|
class DevelopmentConfig(Config):
|
|
DEVELOPMENT = True
|
|
DEBUG = True
|
|
|
|
|
|
class TestingConfig(Config):
|
|
TESTING = True
|