hopefully someone will suggest a deform method...

until then, i ported my modified version of the old pylons validation
to pyramid...

https://gist.github.com/1734244

- i didn't port the decorator, as i rarely use it [ and i couldn't
figure out a good way to do it without mandating that a viewclass
always has a 'request' attribute ]

- it has a bunch of extras (setting form errors, etc), and a slightly
different naming system for arguments ( validate_get , validate_post,
etc )

- long ago, i stripped out lots of code that didn't seem to do much
good (ie compatibility, options i didn't like )

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to