1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.

This commit is contained in:
Mariusz Felisiak 2019-10-25 11:22:03 +02:00 committed by GitHub
parent dbcd7b064e
commit daa9415f78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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``