【解决】Django错误(1146,Table 'xxxx.django_session' doesn't exist")

报错

解决办法,settings.py中取消这行注释,讲session放缓存中

没执行迁移的话,可能是debugtoolbar 把内容存储在session中了

 session最后也是放在redis里面的

发布了375 篇原创文章 · 获赞 180 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/qq_41856814/article/details/104548654