diff options
| author | David Smith <smithdc@gmail.com> | 2020-09-25 09:46:15 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-25 10:12:01 +0200 |
| commit | e6d77e6515b297519a565b0e3b85f34c6598bb71 (patch) | |
| tree | a8a2beeab9e3ef1ba7856c6892dfe5db746d317c /docs | |
| parent | 4b032142faa6f2bdcbef9a99267c51a3e8c9fe66 (diff) | |
Fixed empty values of forms.JSONField and forms.UUIDField in docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/forms/fields.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index ce172056db..328ed69ca5 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -787,7 +787,7 @@ For each field, we describe the default widget used if you don't specify :class:`~django.db.models.JSONField`. * Default widget: :class:`Textarea` - * Empty value: ``''`` (an empty string) + * Empty value: ``None`` * Normalizes to: A Python representation of the JSON value (usually as a ``dict``, ``list``, or ``None``), depending on :attr:`JSONField.decoder`. * Validates that the given value is a valid JSON. @@ -1014,7 +1014,7 @@ For each field, we describe the default widget used if you don't specify .. class:: UUIDField(**kwargs) * Default widget: :class:`TextInput` - * Empty value: ``''`` (an empty string) + * Empty value: ``None`` * Normalizes to: A :class:`~python:uuid.UUID` object. * Error message keys: ``required``, ``invalid`` |
