mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Tweak doctsring. Closes #4404 [ci skip]
This commit is contained in:
parent
075a0bde5a
commit
785b206b81
|
@ -432,7 +432,7 @@ class Field(object):
|
||||||
is provided for this field.
|
is provided for this field.
|
||||||
|
|
||||||
If a default has not been set for this field then this will simply
|
If a default has not been set for this field then this will simply
|
||||||
return `empty`, indicating that no value should be set in the
|
raise `SkipField`, indicating that no value should be set in the
|
||||||
validated data for this field.
|
validated data for this field.
|
||||||
"""
|
"""
|
||||||
if self.default is empty or getattr(self.root, 'partial', False):
|
if self.default is empty or getattr(self.root, 'partial', False):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user