擅长:python、mysql、java
<p>我有一个类似的问题,最后的问题是因为我修改了树结构,使得<code>manage.py</code>无法访问它所需的一些资源。我的解决方案最终重新创建一个废弃的django项目并查看项目结构。你应该遵循这个结构</p>
<pre><code>yourproject/
├── db.sqlite3
├── manage.py
└── yourproject/
├── __init__.py
├── app1/
├── settings.py
├── urls.py
└── wsgi.py
</code></pre>
<p>看起来很重要管理.py留在内部<code>yourproject</code>文件夹之外。在</p>