Let's say we have the following class:

Task(SQLObject):
    priority =
EnumCol(enumValues=['do_it_NOW','when_you_wanna','not_really_important'])

is there a way to get SQLObject to arbitrarily sort the returned
values?  IE, if i specify Task.select().orderBy('priority'), is there
any way to tell SQLObject that 'when_you_wanna' should come BEFORE
'not_really_important'?

Sorry if this is a stupid question...


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