#23539 closed Bug (fixed)
GenericInlineModelAdmin doesn't utilize get_extra (and get_max_num/get_min_num)
| Reported by: | Justin Caratzas | Owned by: | nobody | 
|---|---|---|---|
| Component: | contrib.contenttypes | Version: | 1.7 | 
| Severity: | Normal | Keywords: | |
| Cc: | bigjust@… | Triage Stage: | Accepted | 
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description (last modified by )
the helper functions get_extra, get_max_num, and get_min_num were introduced in 1.6 as a way of calculating extra, max_num, min_num per request.  The GenericInlineModelAdmin has continued using the old self.extra, max_num, and min_num values.
Change History (7)
comment:1 by , 11 years ago
| Cc: | added | 
|---|---|
| Component: | Uncategorized → contrib.contenttypes | 
comment:2 by , 11 years ago
| Description: | modified (diff) | 
|---|---|
| Has patch: | set | 
comment:3 by , 11 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|---|
| Type: | Uncategorized → Bug | 
comment:4 by , 11 years ago
| Needs tests: | set | 
|---|
Please uncheck "Needs tests" when they are added, thanks.
comment:5 by , 11 years ago
| Needs tests: | unset | 
|---|
comment:6 by , 11 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
PR submitted https://github.com/django/django/pull/3263