Changes between Initial Version and Version 1 of Ticket #35071, comment 12


Ignore:
Timestamp:
Jan 1, 2024, 1:50:08 PM (11 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35071, comment 12

    initial v1  
    11I completely agree with Claude here.
    22
    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].
     3As 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].
    44
    55{{{#!python
Back to Top