0

在 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.
4

1 回答 1

0

尝试在终端中运行该命令,并将 manage.py 路径作为您的工作目录。

于 2017-08-19T20:37:42.870 回答