Django

Code

Ticket #3170 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] object_list should pass last_on_page and first_on_page

Reported by: Grimboy Assigned to: jacob
Milestone: Component: Generic views
Version: Keywords:
Cc: frankie@grimboy.co.uk Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

I think these are important for pagination because they help orientate the user. E.g. "Results foo - bar of baz".

Attachments

first_and_last_on_page_object_list.diff (1.7 kB) - added by Grimboy on 12/19/06 23:01:15.

Change History

12/19/06 23:01:15 changed by Grimboy

  • attachment first_and_last_on_page_object_list.diff added.

12/22/06 13:40:53 changed by frankie@grimboy.co.uk

  • cc set to frankie@grimboy.co.uk.

01/18/07 15:07:58 changed by SmileyChris

  • stage changed from Unreviewed to Ready for checkin.

02/02/07 10:10:46 changed by Max Derkachev <mderk@yandex.ru>

There's also #3391 with similar proposal, extended with page_numbers list.

02/25/07 22:53:44 changed by jacob

  • status changed from new to closed.
  • resolution set to fixed.

(In [4591]) Fixed #3170: added first_on_page and last_on_page arguments to paginated generic views. Thanks, Grimboy.


Add/Change #3170 ([patch] object_list should pass last_on_page and first_on_page)




Change Properties
Action