#35488: BaseModelFormSet.validate_unique() raises unhashable type error for
unique
fields with unhashable types
-------------------------------------+-------------------------------------
Reporter: Hanne Moa | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 5.0
Severity: Normal | Resolution:
Keywords: JSONField, unique, | Triage Stage: Accepted
formset, json, hashable |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* easy: 0 => 1
Comment:
Marking as ''easy picking'' as all that is required here is likely to
submit a PR with the change above to use `make_hashable` and add a test
similar to the one added in 06a11ef6ecf324db0a1530b8cca727883698f442 but
using a `form.JSONField` instead.
It might be a good one to pick up if you've never contributed to Django
Hanne!
--
Ticket URL: <https://code.djangoproject.com/ticket/35488#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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018fc6a525fd-8ddb5fd2-4d3c-4924-9cee-370139252663-000000%40eu-central-1.amazonses.com.