Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PylonsからPyramid/Akhetに移動していますが、セットアップに混乱しています。
Akhetの方法で一般的な「コントローラー/アクション」ルートを追加する方法はありadd_handlerますか?(またはadd_routeベースピラミッドの方法でも?)
add_handler
add_route
私の理解では、new add_handler()追加する新しいコントローラーごとに呼び出しを行う必要があるようです。
new add_handler()
pyramid_handlersでは{controller}またはワイルドカードはサポートされていません。ハンドラーごとに少なくとも1回{handler}呼び出す必要があります。add_handlerこれは、Pylonsから移動するときにユーザーが経験しなければならないbw-incompatの変更の1つです。
{controller}
{handler}