forked from xkstudio/Torweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
34 lines (33 loc) · 807 Bytes
/
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
33
34
#!/usr/bin/python
# -*- coding:utf-8 -*-
# Powered By KK Studio
config = {
'db': {
'host': '127.0.0.1',
'port': 3306,
'db': 'torweb',
'user': 'test',
'passwd': 'test',
'charset': 'utf8'
},
'redis': {
'host': '127.0.0.1',
'port': 6379,
'password': '',
'db': '0'
},
'app_settings': dict(
template_path = 'view',
static_path = 'static',
static_url_prefix = '/static/',
xsrf_cookies = False,
cookie_secret = "db884468559f4c432bf1c1775f3dc9da",
cookie_name = '_ksid',
session_prefix = "_k_session_",
session_expires = 7200,
login_url = "/user/login",
default_lang = "en_US",
debug = True,
autoreload = True
)
}