2👍
When doing a PUT you need to submit all the fields for the model only a PATCH would allow you to update by passing one field
0👍
There is partial
parameter which you can pass to serializer, to indicate, that it is a partial update.
From the doc:
http://www.django-rest-framework.org/api-guide/serializers/#partial-updates
- [Answered ]-Django settings.py not updating
- [Answered ]-Form action isn't triggering at all
- [Answered ]-Adding username in url after base url in django
Source:stackexchange.com