Opened 10 years ago

Closed 10 years ago

Last modified 10 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: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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 10 years ago.
patch against [3545]

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by jkocherhans

patch against [3545]

comment:1 Changed 10 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

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

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