#26391: JSONField empty_values
-------------------------------------+-------------------------------------
Reporter: sim1234 | Owner:
Type: | Status: new
Cleanup/optimization |
Component: contrib.postgres | Version: 1.9
Severity: Normal | Keywords: JSON JSONField postgres
| forms
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
When validating required JSONField with values '{}', '[]' or '""' a
ValidationError is raised.
In case of JSON, only None (null) should be considered an empty value.
--
Ticket URL: <https://code.djangoproject.com/ticket/26391>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.c1d621ce8db0a47bb4568c0c17960de1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.