avoid unnecessary attempt to update an immutable dict
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.
Please register or sign in to comment