Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2508 closed defect (fixed)

[patch] custom edit_inline classes aren't used

Reported by: jkocherhans Owned by: Adrian Holovaty
Component: contrib.admin Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Long ago in the new-admin branch, rjwittams (I think) added the capability to specify a class as the edit_inline argument. This was supposed to be a subclass (or at least implement the same interface as) BoundRelatedObject. In Django's trunk only StackedBoundRelatedObject and TabularBoundRelatedObject are possible though. The attatched patch fixes that. I know edit_inline as it exists now is supposed to be destined for death, and AFAIK this particular feature is more or less undocumented, but it would be useful to have around for now.

Attachments (1)

custom_edit_inline_class.diff (942 bytes ) - added by jkocherhans 18 years ago.
patch against [3545]

Download all attachments as: .zip

Change History (2)

by jkocherhans, 18 years ago

patch against [3545]

comment:1 by Malcolm Tredinnick, 18 years ago

Resolution: fixed
Status: newclosed

(In [3801]) Fixed #2508 -- Added back support for custom edit_inline classes. Thanks,
jkocherhans.

Note: See TracTickets for help on using tickets.
Back to Top