-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
41 lines (30 loc) · 1.19 KB
/
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
import os
CSRF_ENABLED = True
SECRET_KEY = '324732uy4hj23j4h2i3yudgisdl@#$@#$@#$236y2u3jkey2u3e927gduh23uhdjgvcsgyuycsy34v23$@#$@#$@#$@#$#2jh4g28374iu23jh42j3k42krjjhdsf'
WTF_CSRF_SECRET_KEY = 'ghsadga67d832gy24h3b42v3n42ashgchvastdgavtg vahhbdjw'
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
UPLOAD_FOLDER = BASE_DIR + '/src/static/user_data/'
IMAGE_ALLOWED_EXTENSIONS = set(['png', 'jpg', 'jpeg', 'gif'])
VIDEO_ALLOWED_EXTENSIONS = set(['mp4', 'avi'])
AUDIO_ALLOWED_EXTENSIONS = set(['mp3', 'ogg'])
DOCUMENT_ALLOWED_EXTENSIONS = set(['pdf'])
ALLOWED_EXTENSIONS = set(IMAGE_ALLOWED_EXTENSIONS | VIDEO_ALLOWED_EXTENSIONS | AUDIO_ALLOWED_EXTENSIONS | DOCUMENT_ALLOWED_EXTENSIONS)
MONGODB_SETTINGS = {
'db': 'shenava',
'host': 'localhost',
'port': 27017
}
BABEL_DEFAULT_LOCALE = 'en'
DEBUG = True
SITE_BASE_URL = 'localhost'
# MAIL_SERVER = 'smtp.googlemail.com'
# MAIL_PORT = 465
# MAIL_USE_TLS = False
# MAIL_USE_SSL = True
# MAIL_USERNAME = '[email protected]'
# MAIL_PASSWORD = 'weqproqzsexpwjpq'
# MAIL_DEFAULT_SENDER = '[email protected]'
BP_TERMINAL_ID = 217
BP_USERNAME = 'user217'
BP_PASSWORD = '83642285'
# BP_CALLBACK_URL = SITE_BASE_URL + '/payment/verify-payment'