Chris Miles <[EMAIL PROTECTED]> writes:

> That's what I tried.
>
> I had:
>
>    @paginate('media', default_order='tsuploaded')
>
> and changed to:
>
>    @paginate('media', default_order='-tsuploaded')
>
> which results in an exception:
>
>    "StandardError: The order column (-tsuploaded) doesn't exist"
>
> Where am I supposed to add the minus sign?

Where you did.  It looks like paginate is doing something on his own and
not using the ORM for data manipulation...

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

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