Django admin coercing to Unicode: need string or buffer, tuple found

见 http://stackoverflow.com/questions/29762306/django-admin-coercing-to-unicode-need-string-or-buffer-tuple-found

 

错误原因就是__unicode__需要返回的是一串字符串,你返回的却是别的

posted @ 2016-04-15 17:15  wswang  阅读(1134)  评论(0编辑  收藏  举报