Extra docs on PATCH with no object.

This commit is contained in:
Tom Christie 2013-08-23 13:35:50 +01:00
parent 110d549404
commit e7927e9bca

View File

@ -149,6 +149,8 @@ class UpdateModelMixin(object):
# return None.
self.check_permissions(clone_request(self.request, 'POST'))
else:
# PATCH requests where the object does not exist should still
# return a 404 response.
raise
def pre_save(self, obj):