Worked around an issue with Django 1.6's six.