1. 程式人生 > >Table 'mxonline.xadmin_log' doesn't exist

Table 'mxonline.xadmin_log' doesn't exist

lin ger AD man task add cor ror erro

使用xadmin源碼安裝出現報錯:

ProgrammingError at /xadmin/users/emailverifyrecord/add/
(1146, "Table ‘mxonline.xadmin_log‘ doesn‘t exist")

解決:

原因是缺少了一些表。在manage.py Task中 makemigrations 和 migrate 即可解決

Table 'mxonline.xadmin_log' doesn't exist