开发者

Unicode conversion error with django

开发者 https://www.devze.com 2023-02-11 06:41 出处:网络
Hi I\'ve upgraded my django version to 1.2.5 and my app stopped working. The error I\'m getting now is as follows:

Hi I've upgraded my django version to 1.2.5 and my app stopped working. The error I'm getting now is as follows:

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

So far I've been unsuccessful in debugging this problem. The error occurs in:

Template error

In template /srv/apps/shop_tools/templates/orders/make_order.html,开发者_开发问答 error at line 18

and line 18 is:

{% trans 'Order Form' %}

With the trans being marked as error causing.

Any idea with this strange problem?


Check your .po files, in particular the one for the current language; the encoding may be declared incorrectly.

0

精彩评论

暂无评论...
验证码 换一张
取 消