Commit 1de77f2f authored by Sli's avatar Sli Committed by Skia
Browse files

core: fix typo

parent 076b10e3
...@@ -195,7 +195,7 @@ class CanViewMixin(View): ...@@ -195,7 +195,7 @@ class CanViewMixin(View):
self._get_queryset = self.get_queryset self._get_queryset = self.get_queryset
def get_qs(self2): 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) self.get_queryset = types.MethodType(get_qs, self)
return super(CanViewMixin, self).dispatch(request, *arg, **kwargs) return super(CanViewMixin, self).dispatch(request, *arg, **kwargs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment