-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.py
32 lines (25 loc) · 1.11 KB
/
settings.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
try:
from config import *
except:
print("Please include the config.py in the project")
SECRET_KEY = APPCONFIG.get('SECRET_KEY', None)
MAX_CONTENT_LENGTH = 5 * 1024 * 1024 # 5MB
DROPBOX_KEY = APPCONFIG.get('DROPBOX_KEY', None)
DROPBOX_SECRET = APPCONFIG.get('DROPBOX_SECRET', None)
DROPBOX_ACCESS_TYPE = APPCONFIG.get('DROPBOX_ACCESS_TYPE', None)
DROPBOX_ACCESS_TOKEN = APPCONFIG.get('DROPBOX_ACCESS_TOKEN', None)
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USERNAME = APPCONFIG.get('MAIL_USERNAME', None)
MAIL_PASSWORD = APPCONFIG.get('MAIL_PASSWORD', None)
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_ASCII_ATTACHMENTS = True
MAIL_DEFAULT_SENDER = APPCONFIG.get('MAIL_DEFAULT_SENDER', None)
MAIL_SENDER = APPCONFIG.get('MAIL_SENDER', None)
SERVER_BASE_ADDRESS = APPCONFIG.get('SERVER_BASE_ADDRESS', None)
VERIFICATION_CODES = APPCONFIG.get("VERIFICATION_CODES", None)
APPLICATION_HOST = APPCONFIG.get("APPLICATION_HOST", None)
APPLICATION_PORT = APPCONFIG.get("APPLICATION_PORT", None)
SEPOLIA_URL = APPCONFIG.get('SEPOLIA_URL', None)
PRIVATE_KEY = APPCONFIG.get('PRIVATE_KEY', None)