You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Enterprise model and related ContactPerson and Phone models:
@reversion.register()classEnterprise(models.Model):
# ...@reversion.register()classContactPerson(models.Model):
enterprise=models.ForeignKey(Enterprise, on_delete=models.CASCADE)
# Other fields@reversion.register()classPhone(models.Model):
enterprise=models.ForeignKey(Enterprise, on_delete=models.CASCADE)
# Other fields
In both backend and frontend, these related models are edited together with Enterprise using formsets. For example in admin I define inlines like this:
Changes of related models are tracked with main model (for_concrete_model=True and it's True by default, I haven't changed it).
It would be great if in detail compare page I can see changes of each of these related models (including all fields) together with main model.
I see that extension has some support for viewing m2m relations changes, but can't find it for relations with models.ForeignKey.
Now the changes to related models are detectable only from change message and details - by manual comparing (opening one version in one browser tab, second one - in another and manually see what's changed in the forms).
The text was updated successfully, but these errors were encountered:
I have
Enterprise
model and relatedContactPerson
andPhone
models:In both backend and frontend, these related models are edited together with
Enterprise
using formsets. For example in admin I define inlines like this:Changes of related models are tracked with main model (
for_concrete_model=True
and it'sTrue
by default, I haven't changed it).It would be great if in detail compare page I can see changes of each of these related models (including all fields) together with main model.
I see that extension has some support for viewing m2m relations changes, but can't find it for relations with
models.ForeignKey
.Now the changes to related models are detectable only from change message and details - by manual comparing (opening one version in one browser tab, second one - in another and manually see what's changed in the forms).
The text was updated successfully, but these errors were encountered: