use syncdb instead of migrate for initialization of your database
04.06.2015 2:04, Abhijit Chatterjee пишет:
Using windows 8. I use cygwin to do the following:
#-----------------------------------------------------------------
All these commands worked
#----------------------------------------------------------------
mkdir django-blog
cd django-blog
virtualenv env
source env/Scripts/activate
pip install django==1.8.2
python env/Scripts/django-admin.py startproject blog_project
cd blog_project
python manage.py migrate
python manage.py makemigrations
python manage.py runserver
python manage.py startapp blog
#--------------------------------------------------------------------
#These didn't work right
#-------------------------------------------------------------------
$ 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.
I did some google search and it seems the problem is ssh issue.
There are some blogs about virtual wrapper. I have not yet been able
to figure out what the issue is actually.
Does anyone know or ever ran into this issue and solved? I do have a
workaround but its nice to be in the same environment.
--
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 django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/d0f4c27e-74f5-4085-8ae5-e05eee90bbda%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/d0f4c27e-74f5-4085-8ae5-e05eee90bbda%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/556F8867.70305%40gmail.com.
For more options, visit https://groups.google.com/d/optout.