On 10/19/06, jose <[EMAIL PROTECTED]> wrote:
>
> NameError: global name 'asc' is not defined
>
> I wonder in which module asc is...
>

That would be in the sqlalchemy module.  At the top of your controller:

from sqlalchemy import asc, desc, and_, or_

This is my standard sqlalchemy import in a controller module.  You may
need others depending on your code.

Lee

-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com

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

Reply via email to