1

我安装了python_beaker,将其添加到包括:

session_factory = session_factory_from_settings(settings)
config = Configurator(settings=settings, session_factory=session_factory)
config.include('pyramid_beaker')

在 development.ini 中添加了这些设置:

session.type = file
session.data_dir = /tmp/sessions/data
session.lock_dir = /tmp/sessions/lock
session.key = key
session.secret = secret
session.cookie_on_exception = true

但会议永远不会结束。我究竟做错了什么?

4

0 回答 0