django 错误整理

UnicodeEncodeError at /admin/home/article/add/
'ascii' codec can't encode characters in position 3-6: ordinal not in range(128)

import sys

reload(sys)
sys.setdefaultencoding('utf8')

你可能感兴趣的:(django 错误整理)