-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevelopment.ini
More file actions
112 lines (82 loc) · 2.15 KB
/
development.ini
File metadata and controls
112 lines (82 loc) · 2.15 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[app:mba]
pyramid.includes =
pyramid_debugtoolbar
pyramid_tm
pyramid_jinja2
deform_jinja2
mba
use = egg:mba
sqlalchemy.url = mysql+pymysql://mba:mbapw123@localhost/mba?charset=utf8
kotti.site_title = MBA
kotti.secret = admin999
kotti.register = True
#TODO for sending mail
mail.default_sender = 1417372422@qq.com
pyramid.reload_templates = true
pyramid.debug_templates = true
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
jinja2.directories = mba:templates
jinja2.filters =
kind_name=mba.views.position.KindName
split=mba.utils.addons.jinja_split
deform_jinja2.template_search_path =
mba:deform_templates
mba:templates
deform_jinja2:bootstrap_templates
kotti.configurators = kotti_tinymce.kotti_configure kotti_settings.kotti_configure kotti_blog.kotti_configure
kotti.max_file_size = 1
#jinja2.filters = split=mba.utils.addons.jinja_split
#达到校友认证需要交换的最少的名片
friend_auth_min_count = 10
[filter:fanstatic]
use = egg:fanstatic#fanstatic
[pipeline:main]
pipeline =
fanstatic
mba
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6544
[alembic]
script_location = mba:alembic
#it seems version_table does not work
version_table = mba_alembic_version
file_template = %%(year)d%%(month).2d%%(day).2d_%%(rev)s_%%(slug)s
truncate_slug_length = 60
# Begin logging configuration
[loggers]
keys = root, kotti, sqlalchemy, alembic
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_kotti]
level = DEBUG
handlers =
qualname = kotti
[logger_sqlalchemy]
level = WARN
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[logger_alembic]
level = DEBUG
handlers = console
qualname = kotti
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
# End logging configuration