在填充数据库之后的django中,我启动了超级用户创建但它失败并显示错误。由于我是django的新手,我无法理解错误是什么?
python manage.py createsuperuser
错误:
Superuser creation skipped due to not running in a TTY.
You can run `manage.py createsuperuser` in your project to create one manually.
答案 0 :(得分:0)
尝试在终端内运行命令,并将manage.py路径作为工作目录。