using django's version of six.