Django

Code

Ticket #6846 (closed: fixed)

Opened 9 months ago

Last modified 9 months ago

first_on_page and last_on_page have wrong values in object_list

Reported by: trevor Assigned to: nobody
Milestone: Component: Generic views
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

Description

In the template context of django.views.generic.list_detail.object_list, the values of first_on_page and last_on_page are swapped.

Attachments

swap-start-end-indices.diff (0.8 kB) - added by trevor on 03/20/08 16:07:25.

Change History

03/20/08 16:07:25 changed by trevor

  • attachment swap-start-end-indices.diff added.

03/23/08 00:45:59 changed by mtredinnick

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

(In [7352]) Fixed #6846 -- Fixed first_on_page and last_on_page in list_detail generic view. Thanks, trevor.


Add/Change #6846 (first_on_page and last_on_page have wrong values in object_list)




Change Properties
Action