user1524567
user1524567

Reputation:

Paginate custom search results with Django

i'm looking for a good way to paginate custom filter/search results in Django. Could use Ajax. I found out this: http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/ But to use this with pagination i need to have some way to store information cross view. For main view i would like to store filter and paginations info (num. of sites, current site number) and in results view i would like to only to fetch one given page. I don't want to use session data storage, because i would like to have multiply tab open in my browser with different search results.

Upvotes: 1

Views: 770

Answers (1)

machaku
machaku

Reputation: 1196

There are some apps like django-pagination and django-endless-pagination which can simplify pagination in django.

Upvotes: 1

Related Questions