Sean Cazzell wrote: > @expose(template="myproject.templates.foo") > @unpack(... validators and inputform stuff here ...) > def foo(bar): > ...
Anyway, just because @unpack looks so familiar to me, I thought I'd note a decorator I wrote for unpacking fields and doing some conversions. It's simpler than validators, for cases when you are getting server-generated content back and don't expect errors. http://svn.pythonpaste.org/Paste/Wareweb/trunk/wareweb/packing.py http://pythonpaste.org/wareweb/module-wareweb.packing.html#unpack -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

