Opened 10 years ago

Closed 10 years ago

Last modified 10 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: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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@… 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by kanashii@…

Attachment: list_detail.patch added

comment:1 Changed 10 years ago by anonymous

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

comment:2 Changed 10 years ago by Adrian Holovaty

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

comment:3 Changed 10 years ago by Adrian Holovaty

Owner: changed from Jacob to anonymous
Status: newassigned

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

comment:4 Changed 10 years ago by Adrian Holovaty

Owner: changed from anonymous to Adrian Holovaty
Status: assignednew

comment:5 Changed 10 years ago by Adrian Holovaty

Status: newassigned

comment:6 Changed 10 years ago by Adrian Holovaty

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