pylons

formencode

formencode.api – Core classes for validation — FormEncode 2.0.0a1 documentation . if_key_missing Schemaで宣言しているキーが入力側のdictに含まれていない場合に このメンバで宣言している値をデフォルトとして渡す。 その後その値でValidateされる。…

Pylons locale i18n

http://docs.pylonsproject.org/projects/pylons_framework/dev/i18n.html

Pylons + genshi

デフォルトテンプレート変数 http://pylonshq.com/docs/ja/0.9.7/views/#id8 c – テンプレートコンテキストオブジェクト (tmpl_context のエイリアス) tmpl_context – テンプレートコンテキストオブジェクト config – Pylons の PylonsConfig オブジェクト (…

pylons routes

>>> m = Mapper() >>> m.resource('location', 'locations', ... parent_resource=dict(member_name='region', ... collection_name='regions')) >>> # path_prefix is "regions/:region_id" >>> # name prefix is "region_" >>> url('region_locations', re…