Fixes #7644: Prevent inadvertent deletion of prior change records when deleting objects (#7333 revisited)

This commit is contained in:
jeremystretch
2021-10-27 09:44:15 -04:00
parent ee25975c39
commit 9d5b3bb75e
2 changed files with 1 additions and 5 deletions

View File

@@ -40,11 +40,6 @@ class ChangeLoggingMixin(models.Model):
blank=True,
null=True
)
object_changes = GenericRelation(
to='extras.ObjectChange',
content_type_field='changed_object_type',
object_id_field='changed_object_id'
)
class Meta:
abstract = True