You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
303 B
Python
16 lines
303 B
Python
5 years ago
|
class Config(object):
|
||
|
DEBUG = False
|
||
|
TESTING = False
|
||
|
SESSION_COOKIE_SECURE = True
|
||
|
|
||
|
class ProductionConfig(Config):
|
||
|
pass
|
||
|
|
||
|
class DevelopmentConfig(Config):
|
||
|
DEBUG = True
|
||
|
SESSION_COOKIE_SECURE = False
|
||
|
|
||
|
class TestingConfig(Config):
|
||
|
TESTING = True
|
||
|
SESSION_COOKIE_SECURE = False
|