-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py
27 lines (21 loc) · 901 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
class Config(object):
DEBUG = False
TESTING = False
class ProductionConfig(Config):
DEBUG = False
MONGO_URI = "mongodb+srv://raviraj:randomPassword@cluster0.btv5a.mongodb.net/wazirx_analytics?retryWrites=true&w=majority"
JWT_SECRET_KEY = "Let's_Keep_It_Secret"
SECRET_KEY = "Flask_Secret_Key_1458752214542"
secret_key = "Raviraj_Developed_This_For_Cryto_4537674234675354"
SESSION_TYPE = 'filesystem'
SESSION_PERMANENT = False
class DevelopmentConfig(Config):
DEBUG = True
MONGO_URI = "mongodb://localhost:27017/wazirx_analytics?readPreference=primary&appname=MongoDB%20Compass&directConnection=true&ssl=false"
JWT_SECRET_KEY = "Let's_Keep_It_Secret"
SECRET_KEY = "Flask_Secret_Key"
secret_key = "Raviraj_Developed_This_For_Cryto"
SESSION_TYPE = 'filesystem'
SESSION_PERMANENT = False
class TestingConfig(Config):
TESTING = True