mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 12:12:19 +03:00
Update docs/api-guide/fields.md
This commit is contained in:
parent
268b30ae91
commit
053c39200b
|
@ -70,7 +70,7 @@ Note that setting a `default` value implies that the field is not required. Incl
|
||||||
|
|
||||||
Notes regarding default value propagation from model to serializer:
|
Notes regarding default value propagation from model to serializer:
|
||||||
|
|
||||||
all the default values of model will pass as default to the serializer and to the options method.
|
All the default values from model will pass as default to the serializer and the options method.
|
||||||
|
|
||||||
if the default is callable then it is propagated in serializer which is evaluated at each time but
|
if the default is callable then it is propagated in serializer which is evaluated at each time but
|
||||||
not in options method.
|
not in options method.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user