Superuser creationskipped due to not running in a TTY. You can run manage.pycreatesuperuser
in yourproject to create one manually.
网上很多解决办法,但是试了很多都没有解决,现把自己实现出的方法留个笔记
找到你的报错信息对应的python.exe所在的目录(如我的C:\Python27\Scripts\demoenv1\Scripts\python.exe)
执行:C:\Python27\Scripts\demoenv1\Scripts\python.exe python manage.py createsuperuser 这样就可以成功了