request.data has become immutable under Django 1.11 for some reason. Regardless, setting the 'id' key should be extraneous because we already instruct the update method to use a specific pk (see kwargs) which should be sufficient to locate the database record and update it.
4.3 KiB
4.3 KiB