Django Rest Framework mutilple update in ModelViewSet
It is required to receive a json to update several objects (N number of
objects) by using a ModelViewSet that uses different serializers
viewsets.py
class ContractsViewSet(viewsets.ModelViewSet):
serializer_class = ContractsSerializer
Django Rest Framework mutilple update in ModelViewSet
It is required to receive a json to update several objects (N number of
objects) by using a ModelViewSet that uses different serializers
viewsets.py
class ContractsViewSet(viewsets.ModelViewSet):
serializer_class = ContractsSerializer
2 matches
Mail list logo