views:

32

answers:

0

I love the ease of django's pagination system, but is there anyway to tweak it where it's paginating by item id instead of page number? Because I am ordering in descending order, if there is an update on a page while a user is going through the pages, the ordering is off.

For instance, if each page had 3 items

  1. Item #1
  2. Item #2
  3. Item #3

While reading page 1, another user updates, then page 2 for the current user will be

  1. Item #3
  2. Item #4
  3. Item #5