1

settings.pyに書き込むUSE_I18N = Trueと、デバッグ エラーが表示されます。

Connected to pydev debugger (build 129.782)
error: unpack requires a string argument of length 8

私が書いたときUSE_I18N = False、すべてがうまくいきます。

何が問題になる可能性がありますか?

4

1 に答える 1

0

Had the same issue. Re-making and compiling messages files worked.

The situation occurred to me after undoing the removal of a django application folder in PyCharm (4.x). So re-doing those messages solved the issue.

于 2015-01-17T15:08:35.620 に答える