-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
31 lines (25 loc) · 823 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
import os
basedir = os.path.abspath(os.path.dirname(__file__))
SQLALCHEMY_DATABASE_URI = "sqlite:///" + os.path.join(basedir, "app.db")
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, "db_repository")
MAX_SEARCH_RESULTS = 50
WTF_CSRF_ENABLED = True
SECRET_KEY = 'you-will-never-guess'
OAUTH_CREDENTIALS = {
'facebook': {
'id': '1578641885698624',
'secret': '7568929e0d956a654c92fa23b9ed277f'
},
'twitter': {
'id': 'AipExyBDMu3NoejXmPw32iKDU',
'secret': 'eiIT5CtHCSle0I9IupORzLlIU7uNf81thkWKYznBUBKHY01rWF'
},
'vkontakte': {
'id': '4661519',
'secret': 'QcPeNSfyzb2iqp5qv6KG'
},
'google': {
'id' : '995429479325-brvpv6fmp16kismlj5el5krjia6cp7va.apps.googleusercontent.com',
'secret': 'NjcPpYnyVODZ9tS8ozxV_bUz'
}
}