List APIs: add done to APIs that didn't have it.

master
Tom Hacohen 4 years ago
parent fcb58f0f4c
commit b4db35bca1

@ -140,6 +140,7 @@ class BaseViewSet(viewsets.ModelViewSet):
ret = { ret = {
'data': serializer.data, 'data': serializer.data,
'done': True, # we always return all the items, so it's always done
} }
return Response(ret) return Response(ret)
@ -449,6 +450,7 @@ class CollectionMemberViewSet(BaseViewSet):
ret = { ret = {
'data': serializer.data, 'data': serializer.data,
'done': True, # we always return all the items, so it's always done
} }
return Response(ret) return Response(ret)

Loading…
Cancel
Save