Am 18.11.2011 10:42, schrieb Diez B. Roggisch:
phones = DBSession.query(Phone).filter('...').one()

Here you are getting a single object

Sorry, remove the .one().

I think the OP needs to clarify what he really wants.

-- Christoph

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to