简体   繁体   English

无法输入密码。 (创建 Django 管理员超级用户)

[英]Cannot type password. (creating a Django admin superuser)

I am doing python manage.py createsuperuser in PowerShell and CMD, and I can type when it prompts me for the Username and Email, but when it gets to Password it just won't let me type.我正在 PowerShell 和 CMD 中执行python manage.py createsuperuser ,当它提示我输入用户名和电子邮件时我可以输入,但是当它输入密码时它不会让我输入。 It is not freezing though, because when I press enter it re-prompts me for the password...不过它并没有冻结,因为当我按下回车键时,它会重新提示我输入密码......

Using Django 1.10 and Windows 10.使用 Django 1.10 和 Windows 10。

While it does not show you what you are typing, it is still taking the input.虽然它没有显示您正在输入的内容,但它仍在接受输入。 So just type in the password both times, press enter and it will work even though it does not show up.所以只需输入两次密码,按回车键,即使它没有出现,它也会工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM