一、問題描述
執行python3 manage.py makemigrations --empty App_two報錯:No installed app with label 'App_two'
二、出現問題的原因
沒有在settings.py中注冊App_two,注冊即可。
三、解決方案
在settings.py中注冊App_two,問題解決。
一、問題描述
執行python3 manage.py makemigrations --empty App_two報錯:No installed app with label 'App_two'
二、出現問題的原因
沒有在settings.py中注冊App_two,注冊即可。
三、解決方案
在settings.py中注冊App_two,問題解決。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。