Sunday, September 27, 2015

Django Tutorial(Database Setup Question)


Hello all !

So I am going through the (Database setup) chapter of this tutorial (https://docs.djangoproject.com/en/1.8/intro/tutorial01/) --- Its the section right after the first chapter on "Creating a project"


I opened up mysite/settings.py as per the instructions on the Django tutorial.


However, when I try to run the following command : $ python manage.py migrate to create the tables in the database,


CaiGengYangs-MacBook-Pro:Weiqi CaiGengYang$ python manage.py migrate ---- input


I get the following error message :


/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'manage.py': [Errno 2] No such file or directory ---- output


Any idea how to solve this issue?


Thanks a lot !


Gengyang


--
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+unsubscribe@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/774360f5-c240-40f9-8d61-80e11899ff8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment