Open merwok opened 6 years ago
Good evening - Was wondering if there was any progress on this enhancement. We are using this app in our project. It works very well, but are not able to see the changes in the admin view for inline admins. It is not a big deal but since this ticket is open, was curious . Thank you.
Haven't look at it – but if you want to take a stab at it, I'd be happy to look at your pr @pallavg
Was this enhancement added? I am using inline on my admin form but it is not visible in the history.
would be really great to have. Are there any workarounds or temp solutions?
My company uses simple history as well. I found a solution to display the correct inlines in the admin (sketched below). If you are interested in the solution, I would obtain approval from my company to contribute the solution. However, the solutions has some workarounds that would be nice to be replaced firstly:
AlwaysSaveForm
in the inline class). It would be better to handle this directly within django-simple-history
.history_id
history_id
is createdhistory_type
of Child: "No change", "Created (+)", "Deleted (-)", "Modified (~)"
Problem Statement
Not sure if this is a bug or feature: inline admins can't be displayed in the admin form view.
Describe the solution you'd like
Port PR #315 to add "inline_admin_formsets" in context to make them available.
Describe alternatives you've considered
Additional context