channels-api
channels-api copied to clipboard
DeleteModelMixin.delete returns 200 instead of 204
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?
Seems reasonable to me. PRs are welcome for this