You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you add support to handle fetching arbitrary pages, e.g. fetching page 3 when you've only actually fetched the first page so far; thus skipping page 2 entirely?
The text was updated successfully, but these errors were encountered:
Yea that could be useful. Is this for handling page numbers from urls/routes? Tastypie's pagination is more like a cursor so i'm cautious about adding "pages" to the api. I'd counter with with the ability to fetch from an arbitrary offset vs. pages. You could then pass the offset to urls.
Considering that tastypie actually returns the total count of the objects would it not be relatively easy to do bounds checking etc knowing how big each page was?
Could you add support to handle fetching arbitrary pages, e.g. fetching page 3 when you've only actually fetched the first page so far; thus skipping page 2 entirely?
The text was updated successfully, but these errors were encountered: