django学习中的异常问题总结
1、创建超级用户:
Superuser creation skipped due to not running in a TTY. You can run manage.py createsuperuser
in your project to create one manually.
出现这个错误的解决方法就是在cmd中使用命令行 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.
出现这个错误的解决方法就是在cmd中使用命令行 python manage.py createsuperuser 这样就可以成功了