diff --git a/opentech/apply/activity/models.py b/opentech/apply/activity/models.py index 7970cf9eb5fe928833f5bf5a38eb4da0466c5227..7dfda64fee22301fd22a2bf579dcfd43eb83177c 100644 --- a/opentech/apply/activity/models.py +++ b/opentech/apply/activity/models.py @@ -61,6 +61,10 @@ class CommentManger(ActivityBaseManager): type = COMMENT +class ActionQueryset(BaseActivityQuerySet): + pass + + class ActionManager(ActivityBaseManager): type = ACTION @@ -75,7 +79,7 @@ class Activity(models.Model): objects = models.Manager.from_queryset(ActivityQuerySet)() comments = CommentManger.from_queryset(CommentQueryset)() - actions = ActionManager() + actions = ActionManager.from_queryset(ActionQueryset)() class Meta: ordering = ['-timestamp']