Python Django チュートリアル 管理者ユーザーを作成でエラー

下記ページを参考に、PythonでのWebページを学習中。

https://qiita.com/okoppe8/items/4cc0f87ea933749f5a49

 

環境

 Windows
 pyhon 3.7.6 
 Django 2.1.1

 

エラー

DjangoチュートリアルのWebアプリ準備。

データベースにアプリケーションの管理者ユーザーを作成。

 

GitBashを使用し、下記コマンドを実行。

$ 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.

 

対策

コマンドプロンプトを管理者権限で起動。

コマンド実行できた。 

 

ユーザ名、メールアドレス、Passwordの入力が求められる。

>python manage.py createsuperuser
ユーザー名: xxxx
メールアドレス: xxxx
Password: