jazzband / django-simple-history

Store model history and view/revert changes from admin site.
https://django-simple-history.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.22k stars 480 forks source link

Support inline admins #438

Open merwok opened 6 years ago

merwok commented 6 years ago

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

pallavg commented 4 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.

rossmechanic commented 4 years ago

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

hatiq-ssi commented 1 year ago

Was this enhancement added? I am using inline on my admin form but it is not visible in the history.

frobert commented 3 months ago

would be really great to have. Are there any workarounds or temp solutions?

tomH01 commented 4 weeks ago

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:

Solution Overview

Prerequisites: