-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
43 lines (29 loc) · 816 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"""
(c) 2019 - ModoUnreal
config.py
"""
import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config(object):
"""Creates default values for the config class.
These values can be modified in child classes,
for their respective purposes."""
DEBUG = False
TESTING = False
CSRF_ENABLED = True
SECRET_KEY = 'dev'
# SQLALCHEMY_DATABASE_URI = "postgresql+pg8000://"
class ProductionConfig(Config):
"""Config class for production."""
DEBUG = False
class StagingConfig(Config):
"""Config class for staging."""
DEVELOPMENT = True
DEBUG = True
class DevelopmentConfig(Config):
"""Config class for development."""
DEVELOPMENT = True
DEBUG = True
class TestingConfig(Config):
"""Config class for testing."""
TESTING = True