mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-23 00:01:16 +00:00
core: fix typo
This commit is contained in:
parent
076b10e325
commit
1de77f2fdd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user