I would like to give a try to this widget but I don't know where find it.
I tried http://docs.turbogears.org/1.0/PaginateDecorator
but it works only with SQLObject.

jo


Chris Miles ha scritto:
> I have submitted a patch [1] which adds a "default_reversed" argument
> to @paginate.  This can simply be used to specify whether the
> default_order should be reversed or not.  ORM independent.
>
> Example:
>   @paginate('media', default_order='timestamp', default_reversed=True)
>
> [1] http://trac.turbogears.org/ticket/1354
>
> Cheers,
> Chris
>
> On Apr 12, 10:34 pm, "Chris Miles" <[EMAIL PROTECTED]> wrote:
>   
>> On Apr 12, 9:20 pm, Jorge Godoy <[EMAIL PROTECTED]> wrote:
>>
>>     
>>> Chris Miles <[EMAIL PROTECTED]> writes:
>>>       
>>>> I am using SQLAlchemy.
>>>>         
>>> Are you using the stock paginate or TGPaginate?  IIRC, the stock one
>>> only works with SQL Object...  There were patches, but I dunno if they
>>> were applied.
>>>       
>> I'm using the stock paginate, but from the 1.0 branch, which supports
>> SQLAlchemy.  It works fine, all except for this issue.
>>
>> Cheers,
>> Chris
>>     
>
>
> >
>   


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