from django.utils import six 修改成 import six 参考: https://docs.djangoproject.com/en/3.1/releases/3.0/ django_utils_six.png