我已经安装了python和django。 一切都很好。 我可以看到管理仪表板等。但无法找到我可以对html进行更改或使用代码的地方。 任何人都能指出我正确的方向吗? 谢谢。
我有以下目录结构。
I've installed python and django. Everything is working fine. I can see the admin dashboard etc. But couldn't find where I can make the changes to html or play with the code. Can anybody point me in the right direction? Thanks.
I've the following directory structure.
最满意答案
创建项目后,您应该具有以下目录结构:
[projectname]/ ├── [projectname]/ │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py └── manage.py现在您需要使用python manage.py startapp <appname>创建一个新应用程序
然后,您将在[projectname]/<appname>]目录下找到相关文件。
After you have created a project you should have a directory structure like:
[projectname]/ ├── [projectname]/ │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py └── manage.pyNow you need to create a new app using python manage.py startapp <appname>
Then you will find your relevant files under [projectname]/<appname>] directory.
更多推荐
发布评论