#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:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * summary:
     BaseModelFormSet.validate_unique() raises TypeError unhashable type:
     'dict' for JSONFields in a UniqueConstraint
     =>
     BaseModelFormSet.validate_unique() raises unhashable type error for
     unique fields with unhashable types

Comment:

 Yes I agree, thank you Simon 👍
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35488#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018fc4d937bd-56bb80ff-1b78-48d2-8125-8eca3ac24e56-000000%40eu-central-1.amazonses.com.

Reply via email to