Skip to content

Commit a83997e

Browse files
Alex Polehatomchristie
Alex Poleha
authored andcommitted
Removed incorrect line from generic-views.md (encode#4583)
1 parent cca9792 commit a83997e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/api-guide/generic-views.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ Also provides a `.partial_update(request, *args, **kwargs)` method, which is sim
220220

221221
If an object is updated this returns a `200 OK` response, with a serialized representation of the object as the body of the response.
222222

223-
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.
224-
225223
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.
226224

227225
## DestroyModelMixin

0 commit comments

Comments
 (0)