From aa3c4262f1d9b7d0b4b076a8783210df1f0e48c2 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 2 Aug 2016 12:55:27 +0100 Subject: [PATCH] Tweak docs [ci skip] --- docs/api-guide/fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md index 64a8c308c..4b566d37e 100644 --- a/docs/api-guide/fields.md +++ b/docs/api-guide/fields.md @@ -51,7 +51,7 @@ Defaults to `False` If set, this gives the default value that will be used for the field if no input value is supplied. If not set the default behaviour is to not populate the attribute at all. -The `default` is not applied during partial update operations, in which case, only fields that are provided will have a validated value returned. +The `default` is not applied during partial update operations. In the partial update case only fields that are provided in the incoming data will have a validated value returned. May be set to a function or other callable, in which case the value will be evaluated each time it is used. When called, it will receive no arguments. If the callable has a `set_context` method, that will be called each time before getting the value with the field instance as only argument. This works the same way as for [validators](validators.md#using-set_context).