Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在 settings.py 中写入时USE_I18N = True,会出现调试错误:
USE_I18N = True
Connected to pydev debugger (build 129.782) error: unpack requires a string argument of length 8
当我写的时候USE_I18N = False,一切正常。
USE_I18N = False
可能是什么问题?
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.