Not able to create super user with Django manage.py

前端 未结 6 1856
感情败类
感情败类 2021-01-30 02:19

Trying to create a super user for my database:

manage.py createsuperuser

Getting a sad recursive message:

Superuser creation skippe

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-30 02:57

    I had same problem when trying to create superuser in the docker container with command: sudo docker exec -i sh. Adding option -t solved the problem:

    sudo docker exec -it sh

提交回复
热议问题