我刚刚安装了South 1.0,当我即将进行第一次迁移时,我收到了以下错误消息:
... /lib/python3.4/site-packages/south/migration/migrators.py", line 186, in _run_migration
for name, db in south.db.dbs.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
I've fixed it by replacing two occurrences of iteritems() by items().
My questions are:
- 如果South 1.0与Python3兼容,为什么会发生这种情况?
- 我的修理会给我带来麻烦吗?
我很惊讶,我找不到任何人有同样的问题.