Django - makemigrations - No changes detected

前端 未结 30 1578
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 04:44

I was trying to create migrations within an existing app using the makemigrations command but it outputs \"No changes detected\".

Usually I create new apps using the

30条回答
  •  独厮守ぢ
    2020-12-02 05:35

    The possible reason could be deletion of the existing db file and migrations folder you can use python manage.py makemigrations this should work. I once faced a similar problem.

提交回复
热议问题