Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#2075 closed enhancement (fixed)

[patch] Alternative page selection method for generic views

Reported by: kanashii@… Owned by: Adrian Holovaty
Component: Generic views Version: dev
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

Added alternative page select to object_list view to allow page selection from the URL when using pagination.

e.g.

r'^page/(?P<page>[0-9]+)/$', 'object_list', dict(info_dict, paginate_by=4)

Attachments (1)

list_detail.patch (965 bytes ) - added by kanashii@… 19 years ago.

Download all attachments as: .zip

Change History (7)

by kanashii@…, 19 years ago

Attachment: list_detail.patch added

comment:1 by anonymous, 19 years ago

Summary: Alternative page selection method for generic views[patch] Alternative page selection method for generic views

comment:2 by Adrian Holovaty, 19 years ago

Good patch, although it needs documentation for generic_views.txt before I can commit it.

comment:3 by Adrian Holovaty, 19 years ago

Owner: changed from Jacob to anonymous
Status: newassigned

I'll take care of the documentation myself, come to think of it.

comment:4 by Adrian Holovaty, 19 years ago

Owner: changed from anonymous to Adrian Holovaty
Status: assignednew

comment:5 by Adrian Holovaty, 19 years ago

Status: newassigned

comment:6 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: assignedclosed

(In [3071]) Fixed #2075 -- Added 'page' parameter to object_list generic view. Thanks, kanashii@…

Note: See TracTickets for help on using tickets.
Back to Top