You have 3 unapplied migration(s). Your project may not work properly until you apply the migrations

文章目录

    • 报这个错,提示要运行:
    • 总结

You have 3 unapplied migration(s). Your project may not work properly until you apply the migrations_第1张图片

报这个错,提示要运行:

python manage.py migrate

运行后,还是报错

运行

python3.8 manage.py migrate

这里的3.8是因为我装的python环境是python3.8,这里要根据自己安装的环境填写

总结

You have 3 unapplied migration(s). Your project may not work properly until you apply the migrations_第2张图片

你可能感兴趣的:(python,python)