TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Django Tutorial (Database Setup) Question

1 pointsby CaiGengYangover 9 years ago
Hello all !<p>So I am going through the (Database setup) chapter of this tutorial (https:&#x2F;&#x2F;docs.djangoproject.com&#x2F;en&#x2F;1.8&#x2F;intro&#x2F;tutorial01&#x2F;) --- Its the section right after the first chapter on &quot;Creating a project&quot;<p>I opened up mysite&#x2F;settings.py as per the instructions on the Django tutorial.<p>However, when I try to run the following command : $ python manage.py migrate to create the tables in the database,<p>CaiGengYangs-MacBook-Pro:Weiqi CaiGengYang$ python manage.py migrate ---- input<p>I get the following error message :<p>&#x2F;Library&#x2F;Frameworks&#x2F;Python.framework&#x2F;Versions&#x2F;2.7&#x2F;Resources&#x2F;Python.app&#x2F;Contents&#x2F;MacOS&#x2F;Python: can&#x27;t open file &#x27;manage.py&#x27;: [Errno 2] No such file or directory ---- output<p>Any idea how to solve this issue?<p>Thanks a lot !<p>Gengyang

no comments

no comments