【发布时间】:2013-12-09 13:45:24
【问题描述】:
我收到无法获取迁移历史对象的错误消息:
The model migrationhistory from the app south is not available in this migration
当我尝试在数据迁移中执行以下操作时,我会这样做:
def forwards(self, orm):
migration = orm['south.MigrationHistory'].objects.all()
为什么我不能这样做来删除我在南历史表中的错误行?
【问题讨论】:
标签: django django-south django-orm