Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#351 closed defect (fixed)

Make list_detail.object_list respect allow_empty when paginating

Reported by: kmh Owned by: Jacob
Component: Generic views Version:
Severity: normal Keywords: generic view
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The generic view django.views.generic.list_detail.object_list
does not respect the keyword boolean argument allow_empty when
paginating is enabled, instead raising Http404 if list is empty.

Change History (3)

comment:1 Changed 11 years ago by anonymous

Version: 1.1

comment:2 Changed 11 years ago by Jacob

Component: Core frameworkGeneric views
Owner: changed from Adrian Holovaty to Jacob
Status: newassigned

comment:3 Changed 11 years ago by Adrian Holovaty

Resolution: fixed
Status: assignedclosed

Fixed in [618].

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