Not compatible with Django 3, since six was a separate pakcage of django(不兼容了!)

fixed the issue by changing the line in base.py :(检查base.py中是否有下面这一行)

from django.utils.six import string_types

by this one :(修改成下面这一行,如果没有增加下面这一行)

from six import string_types

运行还是提示相关的错误,找到后,按上面的规则修改就可以。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注