django错误:ValueError: Dependency on app with no migrations
发布时间:2020-12-15 17:13:57 所属栏目:大数据 来源:网络整理
导读:背景: python3.6 django=2.2 在不小心情况migrations中的文件,提示错误: ValueError:?Dependency?on?app?with?no?migrations:?apps 解决方法: 重新执行makemigrations,为apps应用程序创建迁移。 python?manage.py?makemigrations?apps 执行migrate pytho
背景: python3.6 django=2.2 在不小心情况migrations中的文件,提示错误: ValueError:?Dependency?on?app?with?no?migrations:?apps 解决方法: 重新执行makemigrations,为apps应用程序创建迁移。 python?manage.py?makemigrations?apps 执行migrate python?manage.py?migrate (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |