I am using this in my model to achieve a drop-down selection in my
controller forms, hence views:

db.menu_item.restaurant.requires=IS_IN_DB
(db,'restaurant.id','restaurant.name')

However, I don't know how I can sort the results to not be
alphabetical, but rather, a manually assigned sort column I've
provided myself (or, perhaps, simply the order in which they were
added to the database).

Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to