def get_object(self, queryset=None):
        return Subscription.objects.get(
            user=self.request.user, group=self.kwargs['group_id']
        )
Get the specific subscription needed for the view
dataset/ETHPy150Open ofa/connect/open_connect/notifications/views.py/SubscriptionUpdateView.get_object