django-tables2
django-tables2 copied to clipboard
Sliced querysets
This currently fails:
initial_queryset = models.Coupon.objects.all()
queryset = initial_queryset[page*50:page*50+50]
coupons = tables.CouponTable(queryset,
order_by=request.GET.get('sort'))
As per: http://groups.google.com/group/django-apps/browse_thread/thread/82c3e54a45ef38bb