摘要: 报错如图: 解决,执行迁移表命令: python manage.py makemigrations python manage.py migrate 生成xadmin数据库表之后再去访问: 如图: 访问成功: 阅读全文