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.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/1d8ffb9f-f8f5-436f-b9c1-c20afb042060%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.