Django - makemigrations - No changes detected

前端 未结 30 1473
伪装坚强ぢ
伪装坚强ぢ 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:32

    My problem with this error, was that I had included:

    class Meta:
       abstract = True
    

    Inside model that I wanted to creation migrate for.

提交回复
热议问题