Opened 9 years ago

Closed 9 years ago

#3394 closed (fixed)

min_num_in_admin is ignored for new parent objects

Reported by: torne-django@… Owned by: adrian
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: UI/UX:

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

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by torne-django@…

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

  • Component changed from Database wrapper to Admin interface
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(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