TypeError: an integer is required

与 def __unicode__(self): 函数有关

原文地址:https://www.cnblogs.com/xuedong09/p/3362799.html