日期:2014-05-16 浏览次数:20465 次
TemplateSyntaxError at /admin/auth/group/ Caught DjangoUnicodeDecodeError while rendering: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128). You passed in <Group: [Bad Unicode data]> (<class 'django.contrib.auth .models.Group'>) Request Method: GET Request URL: http://127.0.0.1:8000/admin/auth/group/ Django Version: 1.3 Exception Type: TemplateSyntaxError Exception Value: Caught DjangoUnicodeDecodeError while rendering: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128). You passed in <Group: [Bad Unicode data]> (<class 'django.contrib. auth.models.Group'>) Exception Location: D:\opt\Python27\lib\site-packages\django\utils\encoding.py in force_unicode, line 93 Python Executable: D:\opt\Python27\python.exe Python Version: 2.7.2 ..................