def get_queryset(self):
    if getattr(self, 'values_queryset', None):
        return self.values_queryset
    return super().get_queryset()
def get_queryset(self):
    if getattr(self, 'values_queryset', None):
        return self.values_queryset
    return super().get_queryset()