Learning Python and Django for the first time and I'm stuck at this part of the intro tutorial:
https://docs.djangoproject.com/en/1.9/intro/tutorial02/#introducing-the-django-admin
The 'python manage.py createsuperuser' command gives me this error:
Superuser creation skipped due to not running in a TTY. You can run `manage.py createsuperuser` in your project to create one manually.
Looking through the source, namely createsuperuser.py, it catches the NotRunningInTTYException:
except NotRunningInTTYException:
self.stdout.write(
"Superuser creation skipped due to not running in a TTY. "
"You can run `manage.py createsuperuser` in your project "
"to create one manually."
)
Anyone know how I can resolve this error? if it makes any difference, my installation process was a headache... getting 'python manage.py runserver' took me a good day. Maybe I don't have things configured properly... Using Windows.