小编PJM*_*PJM的帖子

由于无法在TTY中工作,因此无法在django中创建超级用户

我从djangoproject.com开始第一个django教程,在第2部分的最开始,我在运行时创建超级用户,"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.    
Run Code Online (Sandbox Code Playgroud)

我在运行后继续创建超级用户时收到相同的消息syncdb.

我正在使用Eclipse for Windows 7,以及Django 1.7.1和Python 2.7.8.

python eclipse django tty

8
推荐指数
3
解决办法
1万
查看次数

标签 统计

django ×1

eclipse ×1

python ×1

tty ×1