Commit e7927e9b by Tom Christie

Extra docs on PATCH with no object.

parent 110d5494
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment