core: fix typo

This commit is contained in:
Antoine Bartuccio 2018-12-07 11:41:40 +01:00 committed by Skia
parent 076b10e325
commit 1de77f2fdd

View File

@ -195,7 +195,7 @@ class CanViewMixin(View):
self._get_queryset = self.get_queryset
def get_qs(self2):
return self._get_queryset().filter(id__in=l_id)
return self2._get_queryset().filter(id__in=l_id)
self.get_queryset = types.MethodType(get_qs, self)
return super(CanViewMixin, self).dispatch(request, *arg, **kwargs)