TypeError at /xadmin/operation/usercourse/add/
来源:8-2 课程详情页1
 
			名字被用了
2017-12-28
TypeError at /xadmin/operation/usercourse/add/ __str__ returned non-string (type UserProfile)
写回答
	2回答
- 
				  名字被用了 提问者 2017-12-29 def __str__(self): 
 return self.username返回的不是字符串吗? 012018-01-02
- 
				  bobby 2017-12-29 你的userprofile的str函数返回的不是一个字符串 你要检查一下你返回了什么类型的数据 00
相似问题
