更新时间:2022-05-04 02:52:48
在您的用户应用程序中,您应该有一个文件夹迁移
。它应该只包含 0001_initial.py
和 __ init __。py
。这是正确的吗?
Inside your user app, you should have a folder migrations
. It should only contain 0001_initial.py
and __init__.py
. Is that correct?
尝试运行 ./ manage.py sqlmigrate user 0001_initial
,看看它是做什么的,因为错误来自
Try running ./manage.py sqlmigrate user 0001_initial
and see what it does, because thats where the error comes from