This is a useful trick when Python 2 awaits byte strings and Python 3 Unicode (regular) strings.
threading.local
DatabaseWrapper
django.db.connections