From e8cf1ceba146c9f1d78a60cf6d08580ae8cd7baa Mon Sep 17 00:00:00 2001 From: poleha Date: Fri, 14 Oct 2016 11:41:48 +0300 Subject: [PATCH] Removed incorrect line from generic-views.md --- docs/api-guide/generic-views.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md index 5fea8d7e0..c368d0b46 100644 --- a/docs/api-guide/generic-views.md +++ b/docs/api-guide/generic-views.md @@ -220,8 +220,6 @@ Also provides a `.partial_update(request, *args, **kwargs)` method, which is sim If an object is updated this returns a `200 OK` response, with a serialized representation of the object as the body of the response. -If an object is created, for example when making a `DELETE` request followed by a `PUT` request to the same URL, this returns a `201 Created` response, with a serialized representation of the object as the body of the response. - If the request data provided for updating the object was invalid, a `400 Bad Request` response will be returned, with the error details as the body of the response. ## DestroyModelMixin