Django Tutorial (Database setup) Question

Joel Goldstick joel.goldstick at gmail.com
Sun Sep 27 12:08:32 EDT 2015


On Sun, Sep 27, 2015 at 3:32 AM, Cai Gengyang <gengyangcai at gmail.com> wrote:

> 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 !
>
> You need to be in the directory that contains manage.py

> Gengyang
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150927/b90a5974/attachment.html>


More information about the Python-list mailing list