#27697: JSONField with blank=True is rendered as non-required field in a
ModelForm
-------------------------------------+-------------------------------------
Reporter: aruseni | Owner: Andrew
| Nester
Type: Bug | Status: assigned
Component: contrib.postgres | Version: 1.10
Severity: Normal | Resolution:
Keywords: postgres | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sayid Munawar):
CMIIW, in the
[https://docs.djangoproject.com/en/dev/ref/contrib/postgres/fields/#jsonfield
Django Docs] it is not advised to use `{}` as an empty value. it should be
callable like `dict`
--
Ticket URL: <https://code.djangoproject.com/ticket/27697#comment:5>
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/065.c5ce5c3bea58ae7ce7f843b0b38a33a6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.