报错截图
快速解决:因为没有进行数据库迁移,没有创建数据库表
You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
设置好settings中有关数据库的配置,然后执行python manage.py migrate指令生成表即可。