Opened 18 years ago
Closed 18 years ago
#2575 closed enhancement (fixed)
[patch] Make paginator work with lists and support orphans
Reported by: | Chris Beaven | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
(splitting #2093 into two seperate tickets)
There's no orphan feature for the paginator. For example:
22 records, num_per_page=10, orphan=2 --> pages==2, len(self.get_page(1))==12
The paginator should work with lists too.
The patch fixes these and also provides more accurate validation.
Attachments (2)
Change History (7)
by , 18 years ago
Attachment: | better_paginator.patch added |
---|
by , 18 years ago
Attachment: | better_paginator.2.patch added |
---|
comment:1 by , 18 years ago
Summary: | [patch] Make Paginator works with lists and support orphans → [patch] Make paginator work with lists and support orphans |
---|
comment:3 by , 18 years ago
Patience is needed :)
As the FAQ says, it's a matter of prioritization and this is not a critical thing.
I do think that perhaps Django needs a few more developers with commit access.
comment:5 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
oops, typos