Opened 19 years ago

Closed 19 years ago

Last modified 17 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: no UI/UX: no

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 by anonymous, 19 years ago

Version: 1.1

comment:2 by Jacob, 19 years ago

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

comment:3 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [618].

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