Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#2508 closed defect (fixed)

[patch] custom edit_inline classes aren't used

Reported by: jkocherhans Owned by: adrian
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:

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

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by jkocherhans

patch against [3545]

comment:1 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(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