channels-api icon indicating copy to clipboard operation
channels-api copied to clipboard

DeleteModelMixin.delete returns 200 instead of 204

Open bjd183 opened this issue 7 years ago • 1 comments
trafficstars

The destroy() method in the DestroyModelMixin for DRF returns HTTP_204_NO_CONTENT whereas the delete() method in DeleteModelMixin here returns 200. It seems this should be consistent and the 204 would be more correct. Am I missing something?

bjd183 avatar Dec 04 '17 13:12 bjd183

Seems reasonable to me. PRs are welcome for this

linuxlewis avatar Mar 04 '18 18:03 linuxlewis