#27003: ArrayField and JSONField form fields fail on already converted values
-------------------------------------+-------------------------------------
Reporter: brandonchinn178 | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 1.10
Severity: Normal | Resolution:
Keywords: postgres, | Triage Stage:
arrayfield | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by claudep):
I think the solution you proposed in your patch is good for ArrayField,
but it might be more tricky for JSONField as a string can be both a
converted and an unconverted value, so the isinstance is not covering all
cases (see #25532).
--
Ticket URL: <https://code.djangoproject.com/ticket/27003#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/073.da877e4f115e1add54b26ac99190c810%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.