> … > 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
You need to be in the same directory as the file manage.py for the command to work. For Django-1.8 that is likely to be one level above your settings.py file. hth - Tom -- 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/EB6F90BA-E19B-4A79-9DF0-3466F4C2AC6C%40gmail.com. For more options, visit https://groups.google.com/d/optout.

