On Tuesday 08 May 2007 12:08, Jim Steil wrote:
> What I'm
> trying to do is get a list of requisitions sorted by plant name.

Why not get a list of requisitions, and then sort it by plant name?

list(Requisition.select()).sort(key = lambda x: x.plant.name)

cs

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to