Unable to create superuser in django due to not working in TTY

前端 未结 7 1718
南方客
南方客 2021-01-12 05:40

I go through first django tutorial from djangoproject.com and at the very beginning of part 2, which is creating superuser when I run \"python manage.py createsuperuse

7条回答
  •  南笙
    南笙 (楼主)
    2021-01-12 06:36

    I am a Windows10 user. I tried to run py manage.py createsuperuser command using Git Bash console, but error has been thrown. Then I switched Git Bash to native Windows Command Line with administrator privileges, and re-run command - it was working.

提交回复
热议问题