diff --git a/docs/release-notes/version-3.0.md b/docs/release-notes/version-3.0.md index 7de296936..ffaa75d77 100644 --- a/docs/release-notes/version-3.0.md +++ b/docs/release-notes/version-3.0.md @@ -6,6 +6,7 @@ * [#7612](https://github.com/netbox-community/netbox/issues/7612) - Strip HTML from custom field descriptions * [#7628](https://github.com/netbox-community/netbox/issues/7628) - Fix `load_yaml` method for custom scripts +* [#7644](https://github.com/netbox-community/netbox/issues/7644) - Prevent inadvertent deletion of prior change records when deleting objects (#7333 revisited) --- diff --git a/netbox/netbox/models.py b/netbox/netbox/models.py index 317548921..3045e1fce 100644 --- a/netbox/netbox/models.py +++ b/netbox/netbox/models.py @@ -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