예제 #1
0
 def get_queryset(self):
     queryset = utils.get_expend_model(filters={
         'is_for_refund': False,
         'is_for_return': True
     },
                                       only=(),
                                       request=self.request)
     return queryset
예제 #2
0
 def get_queryset(self):
     queryset = utils.get_expend_model(filters={
         'is_for_refund':
         False,
         'is_for_return':
         True,
         'added__year':
         datetime.date.today().year
     },
                                       only=(),
                                       request=self.request)
     return queryset
예제 #3
0
 def get_queryset(self):
     queryset = utils.get_expend_model(filters={},
                                       only=(),
                                       request=self.request)
     return queryset
예제 #4
0
 def get_queryset(self):
     queryset = utils.get_expend_model(
         filters={'added__year': datetime.datetime.today().year},
         only=(),
         request=self.request)
     return queryset