def get_controlled_object(self):
        return Forum.objects.get(pk=self.kwargs['pk'])
Return the considered forum in order to allow permission checks.
dataset/ETHPy150Open ellmetha/django-machina/machina/apps/forum_tracking/views.py/MarkTopicsReadView.get_controlled_object