http-patch

How to PATCH a single field using Django Rest Framework?

How to PATCH a single field using Django Rest Framework? Question: I have a model ‘MyModel’ with many fields and I would like to update a field ‘status’ using PATCH method. I’m using class based views. Is there any way to implement PATCH? Asked By: pnhegde || Source Answers: Serializers allow partial updates by specifying …

Total answers: 5