解决方案:
model重写__unicode__方法后无效,依旧显示object。
在py3环境中,__unicode__需要重写__str__方法
04-08
1824
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交