Hi, On Sun, Dec 16, 2007 at 08:37:08AM -0800, Greg wrote: > I've tried the following: > > for s in s2: > s.price *= s.price * .9 > > However, I still get the following error: > > TypeError at /plush/chandra/antara/108/multi/ > unsupported operand type(s) for *: 'Price' and 'float'
Can you post your models, please? I take it price is a ForeignKey... -Forest -- Forest Bond http://www.alittletooquiet.net
signature.asc
Description: Digital signature