MACMAN MACMAN - 1 year ago 43
Python Question

Where To Modify The Code in Django Project

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.
enter image description here

Answer Source

After you have created a project you should have a directory structure like:

[projectname]/
├── [projectname]/
│   ├── __init__.py
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
└── manage.py

Now you need to create a new app using python manage.py startapp <appname>

Then you will find your relevant files under [projectname]/<appname>] directory.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download