From daa9415f78279855808134e1f40766f6c5f4bdbc Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 25 Oct 2019 11:22:03 +0200 Subject: [PATCH] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs. --- docs/ref/forms/fields.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 82d42e2ab9..fac6de4656 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -627,7 +627,7 @@ For each field, we describe the default widget used if you don't specify .. class:: FilePathField(**kwargs) * Default widget: :class:`Select` - * Empty value: ``None`` + * Empty value: ``''`` (an empty string) * Normalizes to: A string. * Validates that the selected choice exists in the list of choices. * Error message keys: ``required``, ``invalid_choice``