Skip to content

Commit

Permalink
fix(apis_relations): fix follow of property reveversion registration
Browse files Browse the repository at this point in the history
The Property model does not inherity from vocabsbaseclass but from
rootobject, therefore the reversion should follow that foreignkey.
  • Loading branch information
b1rger committed Sep 21, 2023
1 parent cfb1771 commit 6e4df12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_core/apis_relations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def filter_for_user(self):
return self.get_queryset()


@reversion.register(follow=["vocabsbaseclass_ptr"])
@reversion.register(follow=["rootobject_ptr"])
class Property(RootObject):
class Meta:
verbose_name_plural = "Properties"
Expand Down

0 comments on commit 6e4df12

Please sign in to comment.