Closed MaehMaeh closed 2 years ago
We do encounter this same problem as well on our database where we use UUID's as primary keys all over when processing signals asynchronously through celery. Our error logs (to sentry.io) is filling up because of this. Can we put this into a release soon? See #223
@jheld Thank you for merging it in! :heart: :rocket:
The
m2m_changed
signal method throws an error (Object of type UUID is not JSON serializable
) if UUIDs are used for the IDs. If theDjangoJSONEncoder
is used, the error does not occur.signals/model_signals.py
instead of