Opened 17 years ago

Closed 17 years ago

#3394 closed (fixed)

min_num_in_admin is ignored for new parent objects

Reported by: torne-django@… Owned by: Adrian Holovaty
Component: contrib.admin Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The documentation for min_num_in_admin states "However, no fewer than min_num_in_admin related objects will ever be displayed." This isn't true, though - when a new parent object is first created, there are always num_in_admin inline children even if this is fewer than the minimum. Attached (trivial) patch fixes this :)

Attachments (1)

min_num_in_admin.diff (848 bytes ) - added by torne-django@… 17 years ago.

Download all attachments as: .zip

Change History (3)

by torne-django@…, 17 years ago

Attachment: min_num_in_admin.diff added

comment:1 by Gary Wilson <gary.wilson@…>, 17 years ago

Component: Database wrapperAdmin interface
Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [4500]) Fixed #3394 -- Made min_num_in_admin be respected on new object creation. Patch
from torne-django@….

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