mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 04:02:35 +03:00
updated note
This commit is contained in:
parent
2cc065f9f7
commit
150cc7cfa7
|
@ -68,7 +68,7 @@ When serializing the instance, default will be used if the object attribute or d
|
||||||
|
|
||||||
Note that setting a `default` value implies that the field is not required. Including both the `default` and `required` keyword arguments is invalid and will raise an error.
|
Note that setting a `default` value implies that the field is not required. Including both the `default` and `required` keyword arguments is invalid and will raise an error.
|
||||||
|
|
||||||
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 be pass as default to serializer and to the options method.
|
all the default values of model will be pass as default to serializer and to the options method.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user