Skip to content

Commit 785b206

Browse files
committed
Tweak doctsring. Closes #4404 [ci skip]
1 parent 075a0bd commit 785b206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def get_default(self):
432432
is provided for this field.
433433
434434
If a default has not been set for this field then this will simply
435-
return `empty`, indicating that no value should be set in the
435+
raise `SkipField`, indicating that no value should be set in the
436436
validated data for this field.
437437
"""
438438
if self.default is empty or getattr(self.root, 'partial', False):

0 commit comments

Comments
 (0)