报错

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

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

 

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

 

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

 session最后也是放在redis里面的

相关文章: