summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-25 11:22:03 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-25 11:22:59 +0200
commit76964cce206a0d709d874ea8f36c12f9f1d500e6 (patch)
tree7a73b17e0dcdd4bbcf8826da43675b298c28f8d9 /docs
parent8740ff334ae3e001514c42ac1fb63a5e4cfa5cd1 (diff)
[3.0.x] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
Backport of daa9415f78279855808134e1f40766f6c5f4bdbc from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/forms/fields.txt2
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``