mirror of
https://github.com/Hopiu/django.git
synced 2026-05-19 04:51:07 +00:00
Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
This commit is contained in:
parent
dbcd7b064e
commit
daa9415f78
1 changed files with 1 additions and 1 deletions
|
|
@ -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``
|
||||
|
|
|
|||
Loading…
Reference in a new issue