Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(json): properly format more complex json objects #956

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Zerotask
Copy link

I had a django model with several JSONFields and noticed that one rather big JSON object was displayed with double quotes like this:

image

In the database and on non-admin pages where I use a custom template tag, it was displayed properly.

With this little addition, it will be displayed in the admin page properly, too:
image

Other JSONFields will be displayed as before, so this is not a breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant