Re: How to use django-tables with Paginator

2011-08-08 Thread lokesh
hi, just use the following. In views.py import paginator, from django.core.paginator import Paginator, InvalidPage, EmptyPage then in your function bobj = Batch_Criteria_Batch_Instance.objects.all() # get the objects or query ur table. SHOW_CONTENT_LIMIT = 5 #

How to use django-tables with Paginator

2011-08-07 Thread Kayode Odeyemi
This question is related to django-tables. I hope I am allowed to post here. I will appreciate some help on how to use Django Paginator with django-tables. Below is what I have been working with: report.py import django_tables as tables from webapp.models import Transaction class