mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Removed incorrect line from generic-views.md (#4583)
This commit is contained in:
parent
cca9792ae7
commit
a83997e1ed
|
@ -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 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.
|
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
|
## DestroyModelMixin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user