CommandError: App 'article' has migrations. Only the sqlmigrate and sqlflush commands can be used wh

问题描述:CommandError: App 'article' has migrations. Only the sqlmigrate and sqlflush commands can be used when an app has migrations.

解决办法:删除APP “article”目录下的migrations文件夹

原因 :新旧版本交替引起的问题

你可能感兴趣的:(python)