kotti_splashpage是Kotti包设置主页的醒目页面 它可以让你简单地设置一个模板在应用程序部署配置,并有一个醒目的页面。
安装
easy_install的,点子,setup.py安装或什么
添加kotti_splashpage到pyramid.includes和模板路径kotti_splashpage.renderer是这样的:
pyramid.includes =
  ...
  kotti_splashpage
然后添加一个覆盖目录:
kotti_splashpage.renderer = mypackage的:模板/ atemplate.pt
NB:kotti_splashpage.includeme增加了填充功能来设置站点的默认视图。如果您在kotti.populators添加一些填充功能,要知道,你可能需要手动包括kotti_splashpage.populate控制顺序populators的。
发展
发展(那一点点会有)发生在Github上和错误太
什么在此版本中是新的:
- 更新kotti.includes - > pyramid.includes
- 在准备进行实际发布PyPI上
- 在添加填充includeme
- 在得到INI模板:kotti_splashpage.renderer
- 在样板
- 填充
- 在包括我
要求:
- 在Python中
- 在Kotti
评论没有发现