Code

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

Download all attachments as: .zip

Change History (2)

Changed 8 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.