Looks like your problem is here:

On Tue, Jun 23, 2009 at 4:21 PM, phasma<[email protected]> wrote:
...
>        item = model.Price()
>        item.name=name
>        item.weight=weight
>        item.price=price
>        item.date=date
>        meta.Session.add(price)

You've added price (the integer) to the session instead of item (the
instance of Price).

Stephen Emslie

--~--~---------~--~----~------------~-------~--~----~
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