#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: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Andrew Nester):
* owner: (none) => Andrew Nester
* status: new => assigned
Comment:
I've added pull request [https://github.com/django/django/pull/7990 #PR]
I've decided to make logic so: if we have {{{blank=True}}} and
{{{null=False}}} for {{{JSONField}}}, we make this field required with
empty value set to {{{{} }}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27697#comment:3>
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.6ee795c96a47c2dd9d0b145f2d37cefd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.