Beispiel #1
0
    def get_status_queryset(self):
        qs = Status.objects.filter(reply_to=None)
        start = startdate(self.request)
        if start:
            end = enddate(self.request)
            if not end:
                end = start

            qs = qs.filter(created__range=(start, end))

        return qs
Beispiel #2
0
    def get_status_queryset(self):
        qs = Status.objects.select_related('project', 'user')
        start = startdate(self.request)
        if start:
            end = enddate(self.request)
            if not end:
                end = start

            qs = qs.filter(created__range=(start, end))

        return qs
Beispiel #3
0
    def get_status_queryset(self):
        qs = Status.objects.select_related('project', 'user')
        start = startdate(self.request)
        if start:
            end = enddate(self.request)
            if not end:
                end = start

            qs = qs.filter(created__range=(start, end))

        return qs