执行迁移命令之后出现报错
AttributeError: ‘str‘ object has no attribute ‘decode‘
1、找到python安装目录下的django文件夹下的operations.py
2 将decode修改成encode
Django报错:AttributeError: 'str' object has no attribute 'decode'
原文:https://www.cnblogs.com/chijintao/p/14947753.html