配置使用MySQL数据库,按下图操作 子应用中写入ORM模型类 执行数据库迁移操作:python manage.py makemigrations与python manage.py migrate 遇到的错误 解决方案