Changes between Initial Version and Version 1 of Ticket #35071, comment 12
- Timestamp:
- Jan 1, 2024, 1:50:08 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35071, comment 12
initial v1 1 1 I completely agree with Claude here. 2 2 3 As a matter of fact `DjangoJSONEncoder` already works perfectly for this use case so I don't understand why we should treat promises differently [https://docs.djangoproject.com/en/5.0/ref/models/fields/#django.db.models.JSONField.encoder given we already document using it for such cases] .3 As a matter of fact `DjangoJSONEncoder` already works perfectly for this use case so I don't understand why we should treat promises differently [https://docs.djangoproject.com/en/5.0/ref/models/fields/#django.db.models.JSONField.encoder given we already document using it for such cases] and that the latter is [https://docs.djangoproject.com/en/5.0/topics/serialization/#django.core.serializers.json.DjangoJSONEncoder documented to work with promises]. 4 4 5 5 {{{#!python