mirror of https://github.com/snachodog/mybuddy.git
fix for /pull/665#discussion_r1250135346
This commit is contained in:
parent
b5ee54872a
commit
25812f2adf
|
@ -83,7 +83,7 @@ class PumpingViewSet(viewsets.ModelViewSet):
|
||||||
serializer_class = serializers.PumpingSerializer
|
serializer_class = serializers.PumpingSerializer
|
||||||
filterset_class = filters.PumpingFilter
|
filterset_class = filters.PumpingFilter
|
||||||
ordering_fields = ("amount", "duration", "end", "start")
|
ordering_fields = ("amount", "duration", "end", "start")
|
||||||
ordering = "-start"
|
ordering = "-end"
|
||||||
|
|
||||||
|
|
||||||
class SleepViewSet(viewsets.ModelViewSet):
|
class SleepViewSet(viewsets.ModelViewSet):
|
||||||
|
|
Loading…
Reference in New Issue