我的机器上有一个 Django 项目,当我尝试使用 South 迁移数据模式时,出现了几个奇怪的错误。例子:
$ python manage.py convert_to_south thisLocator
/Library/Python/2.6/site-packages/registration/models.py:4:弃用警告:sha >模块已弃用;改用 hashlib 模块 import sha /Users/cm/code/thisLocator/../thisLocator/batches/models.py:6: DeprecationWarning: the md5 >module is deprecated; 使用 hashlib 代替 import md5
没有与“thisLocator”匹配的已启用应用程序。
我遵循了南方的文档。Settings.py 在已安装的应用程序中有它,我可以从 manage.py shell 运行 import south。我团队中的其他人都在调用这个应用程序 thisLocator。
我做的事情真的很愚蠢吗?