django
django copied to clipboard
Prefer compact coding in json_script
json.dumps() overrides ensure_ascii=False in DjangoJSONEncoder. Set the flag again. It is okay because JSON allows the use of Unicode characters only. Set separators without spaces as well.
Hello @mymedia2! Thank you for your contribution 💪
As it's your first contribution be sure to check out the patch review checklist.
If you're fixing a ticket from Trac make sure to set the "Has patch" flag and include a link to this PR in the ticket!
If you have any design or process questions then you can ask in the Django forum.
Welcome aboard ⛵️!
@mymedia2 Thanks for this PR :+1: It's a new feature and all new features require an accepted ticket, please create one. Moreover it's backward incompatible so release notes are also needed (see a similar change, ticket-29249).
Closing due to inactivity and lack of follow up.