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
class ModelB(models.Model):
modela = models.ForeignKey(ModelA, related="modelbs")
I want to have auditlog change entry on a ModelA instance when ModelB is created, deleted, changed etc. with the given ModelA instance. Is this possible somehow? Did not find any ManyToOneRelation parameter (like there is one for m2m fields tracking). Did not find any test cases for this scenario so I would assume that this is not supported?
The text was updated successfully, but these errors were encountered:
Simple example:
class ModelA(models.Model):
id = ...
class ModelB(models.Model):
modela = models.ForeignKey(ModelA, related="modelbs")
I want to have auditlog change entry on a ModelA instance when ModelB is created, deleted, changed etc. with the given ModelA instance. Is this possible somehow? Did not find any ManyToOneRelation parameter (like there is one for m2m fields tracking). Did not find any test cases for this scenario so I would assume that this is not supported?
The text was updated successfully, but these errors were encountered: