is_paginated not working for django Generic Views
问题 I've been using django built-in pagination (is_paginated) in few of my pages. They are all working fine. Except for the search page where the pagination should only appear based on the filtered queryset. I've checked through few other thread but it ain't helping much. How do I use pagination with Django class based generic ListViews? Django template tag exception Here's a mini version of what I have so far:- 1)views.py class SearchBookView(ListView): template_name = 'books/search_book.html'