diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-10-25 11:22:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-25 11:22:03 +0200 |
| commit | daa9415f78279855808134e1f40766f6c5f4bdbc (patch) | |
| tree | 5861898cf382138ac756378f02b1e37439b8b98c /docs/ref/forms | |
| parent | dbcd7b064e7278614f29fc45468d461e263d4da7 (diff) | |
Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
Diffstat (limited to 'docs/ref/forms')
| -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 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`` |
