formencode is great, I really like how easy and clean it is for parsing request.params. However, when dealing with ORM objects it gets tricky. I have tried including a 'dictify' method in my objects so that the schema can parse them ok but then I find I'm passing dictionaries with reduced functionality to the view, plus I find I'm replicating my table model in my ORM object definitions which could lead to disaster.
Is there an easy way to ensure that the database data is converted according to my formencode schema? brendan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
