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.