报错如图:
解决,执行迁移表命令:
python manage.py makemigrations
python manage.py migrate
生成xadmin数据库表之后再去访问:
如图:
访问成功:
django,访问xadmin后台报错Exception Value: (1146, "Table 'django.xadmin_usersettings' doesn't exist")
原文地址:https://www.cnblogs.com/xiamaojjie/p/12545562.html
时间: 2024-10-29 04:17:15