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

前端 未结 7 1691
南方客
南方客 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:23

    When using the Git Bash and to correct the above error message try to append winpty
    i.e. for example:

    $ winpty python manage.py createsuperuser
    Username (leave blank to use '...'):
    

提交回复
热议问题