I am working with a model that has a json field. The data stored in this field may not always be pretty-printed, and I am okay with it as long as it is valid. However, when the data is displayed in Django admin, I would like it to be pretty printed for easier readability. I don't have an issue if this means the pretty-printed version is saved as well.
Do you have any suggestions on how to achieve this?