Django

Code

Ticket #3249 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] inconsistent documentation on pagination with generic view object_list

Reported by: Nikolaus Schlemm <nikl@nikl.net> Assigned to: jacob
Milestone: Component: Documentation
Version: SVN Keywords: inconsistent documentation on pagination
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

in the text to the optional parameter paginate_by it says

The view will expect either a page query string parameter (via GET) containing a zero-indexed page number, or a page variable specified in the URLconf. See "Notes on pagination" below.

and in the mentioned "Notes on pagination" it says

In both cases, page is 1-based, not 0-based, so the first page would be represented as page 1.

Attachments

svn.diff (0.7 kB) - added by Nikolaus Schlemm <nikl@nikl.net> on 01/07/07 22:12:21.
should be more consistent now

Change History

01/07/07 22:12:21 changed by Nikolaus Schlemm <nikl@nikl.net>

  • attachment svn.diff added.

should be more consistent now

01/17/07 16:12:17 changed by

  • milestone deleted.

Milestone Version 1.0 deleted

01/19/07 06:25:27 changed by Simon G. <dev@simon.net.nz>

  • stage changed from Unreviewed to Ready for checkin.

02/25/07 23:07:54 changed by jacob

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

(In [4593]) Fixed #3249: small doc fix to pagination documentation. Thanks, Nikolaus Schlemm.


Add/Change #3249 ([patch] inconsistent documentation on pagination with generic view object_list)




Change Properties
Action