You have 15 unapplied migration(s). Your project may not work properly until you apply the migration

执行Django 后台admin 命令时报错
You have 15 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.
在这里插入图片描述
先执行
python manage.py migrate
再执行
python manage.py createsuperuser

你可能感兴趣的:(Django,django)