Python django内置注释模型管理导致utf-8错误

Python django内置注释模型管理导致utf-8错误,python,django,utf-8,Python,Django,Utf 8,我从django教程中添加了standart注释模型('django.contrib.comments'和'django.contrib.sites',),效果很好。但当我尝试在“评论管理”中显示评论列表时,会导致错误: UnicodeDecodeError at /admin/comments/comment/ 'utf8' codec can't decode byte 0xc2 in position 80: invalid continuation byte Request Method

我从django教程中添加了standart注释模型('django.contrib.comments'和'django.contrib.sites',),效果很好。但当我尝试在“评论管理”中显示评论列表时,会导致错误:

UnicodeDecodeError at /admin/comments/comment/
'utf8' codec can't decode byte 0xc2 in position 80: invalid continuation byte
Request Method: GET
Request URL:    http://127.0.0.1:8000/admin/comments/comment/
Django Version: 1.6.4
Exception Type: UnicodeDecodeError
Exception Value:    
'utf8' codec can't decode byte 0xc2 in position 80: invalid continuation byte
Exception Location: C:\Python27\lib\encodings\utf_8.py in decode, line 16
Python Executable:  C:\Python27\python.exe
Python Version: 2.7.6

Unicode error hint

The string that could not be encoded/decoded was: ONE '������
Error during template rendering

In template C:\Users\Harkonnen\PycharmProjects\alpha\grappelli\templates\admin\change_list.html, error at line 207
utf8
205         <!-- DATE HIERARCHY -->
206         {% block date_hierarchy %}
207             {% if cl.date_hierarchy %}{% date_hierarchy cl %}{% endif %}
208         {% endblock %}

在settings.py文件中,是否有其他默认\u字符集配置

看看这个:

Django文件的其他部分提到:

Django在任何地方都支持Unicode数据。


С元素将pytz用于时区。安装后,错误消失。

我的配置中没有默认字符集,因此它是默认的“utf-8”。试图定义它,仍然是相同的错误。
In template C:\Python27\lib\site-packages\django\contrib\admin\templates\admin\change_list.html, error at line 73

73        {% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %}