Re: Validating a select box

2010-03-05 Thread Mark
Hi Mike, I have a form with some hidden fields that were dynamically added by another operation going on in the same page. These hidden fields were formed with values that were already validated. I do not wish to validate this again. Can I use __unpackargs__ to specify the fields I want to

Re: Validating a select box

2010-03-05 Thread Mike Orr
On Fri, Mar 5, 2010 at 12:58 AM, Mark zhengha...@gmail.com wrote: Hi Mike, I have a form with some hidden fields that were dynamically added by another operation going on in the same page.  These hidden fields were formed with values that were already validated.  I do not wish to validate

looping sqlalchemy attributes

2010-03-05 Thread Jonathan Vanasco
my code is still running on sqlalchemy .48, so if this has been addressed in future versions - let me know! lets say i have a one-to-many sqlalchemy relation, and loop an attribute called items: def cleanup( cart ): for item in cart.items: if item.qty == 0 :