#17642 closed New feature (fixed)
min_num on admin inline formsets
| Reported by: | Owned by: | Tim Graham | |
|---|---|---|---|
| Component: | contrib.admin | Version: | |
| Severity: | Normal | Keywords: | admin min_num formsets |
| Cc: | Tim Graham, Rogério Yokomizo, anders@…, stephen.r.burrows@… | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | yes |
Description
the min_num parameter should be supported in admin inlines
Attachments (2)
Change History (25)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:3 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:4 by , 14 years ago
| Has patch: | set |
|---|
comment:5 by , 13 years ago
| Triage Stage: | Ready for checkin → Accepted |
|---|
This depends on #9532 being committed.
comment:6 by , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:7 by , 12 years ago
| Cc: | added |
|---|---|
| Patch needs improvement: | set |
comment:8 by , 12 years ago
| Cc: | added |
|---|
comment:9 by , 12 years ago
| Cc: | added |
|---|
comment:10 by , 12 years ago
| Owner: | changed from to |
|---|
I updated the patch, see attached 17642-v2.diff or my branch on github: https://github.com/asteinlein/django/tree/min_num-admin-inline
I would love to get this into 1.7, so I'll be quick to update the patch after any feedback.
comment:12 by , 11 years ago
| Cc: | added |
|---|
Just ran into this... it seems like a pretty serious oversight that this wasn't implemented for model formsets/inline formsets back when the functionality was introduced in the first place. Would love to see it fixed. :-)
comment:13 by , 11 years ago
... and then I noticed that the functionality itself was just added in 1.7.
comment:14 by , 11 years ago
@melinath, if you would like to update the PR per my comments that will expedite this getting fixed.
comment:15 by , 11 years ago
@timo: Yeah... I was hoping asteinlein would pop out of the shadows. :-p I'm already working on another patch for django, and I want to wait until it's done before I take another one on. Barring a massive influx of free time.
comment:17 by , 11 years ago
@timo: I've run into some strange behavior - see my note on #9532. Would it be reasonable for me to integrate a fix into just the modelformset behavior, in your opinion?
comment:19 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Patch needs improvement: | unset |
| Triage Stage: | Accepted → Ready for checkin |
I will give this a final review and merge it tomorrow.
comment:20 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
feature added in: #9532