少了一行命令: 在进行下面代码之前, > 然后进行数据迁移: > python manage.py migrate 要先在环境中安装 bootstrap4 (env)…. pip install django-bootstrap4