i want to using Paginator in my main page for my post list. i see docs and examples for that but i thing my problem is a specific, because on my view i have two Querys not one.def index(request): return render_to_response("blog/posts_list.html", { 'categories': Category.objects.all(), 'posts': Posts.objects.filter(publisheddate__lte=timezone.now()).order_by('-publisheddate') })
any idea how to use
Paginator on my view ?