You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a code that does XY.objects.bulk_update(objects, ["data"]) where data is a django extensions JSONField. The code breaks with TypeError: Object of type Cast is not JSON serializable. On 3.2 it is working properly.
I've added a dummy print into django_extensions/db/fields/json.py into the JSONField's get_db_prep_save and the type of value is <class 'django.db.models.functions.comparison.Cast'>.
The text was updated successfully, but these errors were encountered:
I have a code that does
XY.objects.bulk_update(objects, ["data"])
wheredata
is a django extensions JSONField. The code breaks withTypeError: Object of type Cast is not JSON serializable
. On 3.2 it is working properly.I've added a dummy print into
django_extensions/db/fields/json.py
into the JSONField'sget_db_prep_save
and the type of value is<class 'django.db.models.functions.comparison.Cast'>
.The text was updated successfully, but these errors were encountered: