djang的Unicode转换错误

2024-09-26 04:57:57 发布

您现在位置:Python中文网/ 问答频道 /正文

嗨 我已经将我的django版本升级到1.2.5,我的应用程序停止工作。我的错误如下:

Caught DjangoUnicodeDecodeError while rendering: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128). You passed in ()

到目前为止,我调试这个问题还没有成功。错误发生在:

Template error

In template /srv/apps/shop_tools/templates/orders/make_order.html, error at line 18

第18行是:

{% trans 'Order Form' %}

事务标记为错误导致。在

你知道这个奇怪的问题吗?在


Tags: djangoin应用程序错误asciierrorbytecan