def get(self, request, *args, **kwargs):
        object_id = kwargs.get('pk' , kwargs.get('object_id', None))
        agenda = get_object_or_404(Agenda, pk=object_id)
        if agenda.editors.all() in request.user:
            return super(AgendaDetailEditView, self).get(request, *args, **kwargs)
        else:
            return HttpResponseRedirect(agenda.get_absolute_url())
dataset/ETHPy150Open ofri/Open-Knesset/agendas/views.py/AgendaDetailEditView.get/swapped operands of `in`