mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-27 20:43:46 +03:00
Fixed heading markdown
This commit is contained in:
parent
acbd9d8222
commit
505a69cf43
|
@ -161,7 +161,7 @@ Each key in the dictionary will be the field name, and the values will be lists
|
||||||
|
|
||||||
When deserializing a list of items, errors will be returned as a list of dictionaries representing each of the deserialized items.
|
When deserializing a list of items, errors will be returned as a list of dictionaries representing each of the deserialized items.
|
||||||
|
|
||||||
#### Raising an exception on invalid data
|
#### Raising an exception on invalid data
|
||||||
|
|
||||||
The `.is_valid()` method takes an optional `raise_exception` flag that will cause it to raise a `serializers.ValidationError` exception if there are validation errors.
|
The `.is_valid()` method takes an optional `raise_exception` flag that will cause it to raise a `serializers.ValidationError` exception if there are validation errors.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user