Adjust Django debug toolbar to do non-ASCII-safe string operations

Credit goes to Asheesh Laroia for writing this patch to Open Hatch code
base. I am doing the upstream part. Related commit is here: https://github.com/openhatch/oh-mainline/commit/e641408564fb9dde26083d510fb0a9ac591a1251