In this part of the series Django For Beginners we are going to explore project struture of a new Django project which we create in last part check it out here after installing Django.
The poject structure should look something like this,
📂 myDjangoSite
- 📂 myDjangoSite
- 📄 __init__.py
- 📄 asgi.py
- 📄 settings.py
- 📄 urls.py
- 📄 wsgi.py
- 📄 manage.py
As redicilious it may sound it is you have folder with same name that is myDjangoSite inside myDjangoSite. Let this be aside it is for a good think we will learn about it later,
manage.py: It is entry point of ourDjangoapplication, we should not touch this file. It is used by django._init__.py: It is a empty file and is used to treat the directory as a package.asgi.py: It is used to manageasgiserver, it is used at the time of deployment.wsgi.py: It is used to managewsgiserver, it is used at the time of deployment.settings.py: It is a file contaning all the settings of ourDjangoapplication.urls.py: It is a file used to storeurl patternsfor ourDjangoapplication.