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
The poject structure should look something like this,
- 📂 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. Let this be aside it is for a good think we will learn about it later,
manage.py: It is entry point of our
Djangoapplication, 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 manage
asgiserver, it is used at the time of deployment.
wsgi.py: It is used to manage
wsgiserver, it is used at the time of deployment.
settings.py: It is a file contaning all the settings of our
urls.py: It is a file used to store
url patternsfor our