def default_settings(self):
"""
"""
import gprime.const
return {
"cookie_secret": base64.b64encode(uuid.uuid4().bytes + uuid.uuid4().bytes),
"login_url": self.make_url("/login"),
'template_path': os.path.join(gprime.const.DATA_DIR, "templates"),
'debug': self.options.debug,
"xsrf_cookies": self.options.xsrf,
}
评论列表
文章目录