Re: Generic views table sort

2006-09-06 Thread Robert
Hello Aidas, I will try to implement your view :) As for pagination, I've found a great templatetag at: http://code.djangoproject.com/wiki/CookBookTemplateTags Thanks, Robert --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Generic views table sort

2006-09-05 Thread Aidas Bendoraitis
For that reason I made a custom object_list view based on the generic one. -- code start -- def object_list(request, queryset, paginate_by=None, page=None, allow_empty=False, template_name=None, template_loader=loader, extra_context=None, context_processors=None, template_object_

Re: Generic views table sort

2006-09-05 Thread charles sibbald
take a look at http://www.softcomplex.com table sorting and pagination, simply amazing- Original Message From: Robert <[EMAIL PROTECTED]>To: Django users Sent: Tuesday, September 5, 2006 11:13:55 AMSubject: Generic views table sortHi,I'm using 'object_list' for getting object list and now I

Generic views table sort

2006-09-05 Thread Robert
Hi, I'm using 'object_list' for getting object list and now I need to add column sorting in my table. I am new to both python & Django, and read contrib/admin/teamplates,tamplatetags many times and can't understand how pagination & column sorting works in Admin panel. Also tried a javascript 's