Fanstaticためのピラミッドトゥイーンとピラミッド足場を提供するpyramid_fanstatic。
の足場の
ただ実行します。
  pcreate -sスターター-s pyramid_fanstaticでmyproject
または:
  pcreate -s pyramid_fanstatic myexistingproject
あなたが既存のプロジェクトにpyramid_fanstaticを追加する場合。
その後README_FANSTATIC.txtを読む
Fanstaticライブラリ定義はresources.pyするために添加される。リソースは、リソース/ディレクトリに格納されています。
のトゥイーンの使用の
あなたは、あなたの.ini内のすべてのfanstaticオプションを使用することができます。あなただけのfanstaticでオプションの前に付ける必要があります。:
[アプリ:メイン]
...
fanstatic.publisher_signature = fanstatic
あなたは、少なくともこれら2つのオプションが追加する必要があります。
fanstatic.bottom =真
development.iniの中fanstatic.debug = trueを#
次に、あなたの__init__.pyでpyramid_fanstatic、次のとおりです。
config.include( 'pyramid_fanstatic')
の要件の
- のPythonます。
- Fanstaticます。
コメントが見つかりません