> just guessing, but this seems wrong: ``filter_by(id = payment.id)``. 
> shouldn't it be ``filter_by(id == payment.id)``?

`filter_by` expects kw args ( `=` )
`filter` expects args/expressions ( `==` )

http://stackoverflow.com/questions/2128505/whats-the-difference-between-filter-and-filter-by-in-sqlalchemy

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


Reply via email to