Django錯誤(1146,Table 'xxxx.django_session' doesn't exist")

原文連接:https://blog.csdn.net/BlackListMan/article/details/82620144   出現這種錯誤先檢查,數據庫鏈接設置是否成功,在setting.py同級文件中的__init__.py 中是否添加了數據庫相關設置。mysql 如鏈接的是MySQL; 以後檢查一下models中的表名或者是字段名稱是否與關鍵字保留字一致。sql import pymy
相關文章
相關標籤/搜索