Opened 12 years ago

Closed 12 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: master
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


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

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by torne-django@…

Attachment: min_num_in_admin.diff added

comment:1 Changed 12 years ago by Gary Wilson <gary.wilson@…>

Component: Database wrapperAdmin interface
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 12 years ago by Malcolm Tredinnick

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