【已解決】django.db.utils.OperationalError: no such table: django_content_type錯誤。

對於新建的一個項目,新建的app,在數據庫遷移的時候,執行了下面兩條命令: python manage.py makemigrations teacher_app,第一步成功 python manage.py migrate teacher_app,第二步失敗,報錯django.db.utils.OperationalError: no such table: django_content_typ
相關文章
相關標籤/搜索