Opened 14 years ago
Closed 14 years ago
#15301 closed Bug (duplicate)
GenericInlineModelAdmin's get_formset() method does not have same arg signature/behavior as InlineModelAdmin
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | contrib.contenttypes | Version: | 1.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This leads to difficulty when trying to override get_formset() in a subclass
Note that it takes kwargs and will update the defaults:
http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/options.py#L1297
No kwargs/no update:
http://code.djangoproject.com/browser/django/trunk/django/contrib/contenttypes/generic.py#L402
Change History (4)
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
Component: | Contrib apps → contrib.contenttypes |
---|
comment:3 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → Bug |
comment:4 by , 14 years ago
Easy pickings: | unset |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is a duplicate of #9588.