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
評論沒有發現