pycharm环境不能createsuperuser

在pycharm中创建超级用户失败

提示:

Superuser creation skipped due to not running in a TTY. You can run `manage.py createsuperuser` in your project to create one manually.

cmd到环境路径下直接manage.py createsuperuser

例如:

猜你喜欢

转载自www.cnblogs.com/barry007/p/9022684.html