【发布时间】:2013-05-23 03:36:31
【问题描述】:
当我为我的 django 项目尝试 syncdb 时,我看到了以下抱怨:
The following content types are stale and need to be deleted:
myapp |
Any objects related to these content types by a foreign key will also
be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'.
虽然我也读过类似的问题 django-syncdb-many-to-many-stale,但我不能冒险输入 yes,因为我在 prod 实例上。
yes 会安全地删除 contenttype 中的那些陈旧条目吗?
【问题讨论】:
标签: python django syncdb contenttypes