diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-10-25 11:22:03 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-10-25 11:23:23 +0200 |
| commit | 48df40262bb13ff923dcbafc2bc70af12fe9db47 (patch) | |
| tree | 310d68fc6478d976d4eb71342a1c1a0986b19473 /docs/ref/forms/fields.txt | |
| parent | fb77d53ffefc5c203e6cb93be71fd1154c2a884f (diff) | |
[2.2.x] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
Backport of daa9415f78279855808134e1f40766f6c5f4bdbc from master
Diffstat (limited to 'docs/ref/forms/fields.txt')
| -rw-r--r-- | docs/ref/forms/fields.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index aa13d4f021..10bcc0eb3a 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`` |
