manage.py file in a Django project?manage.py file do when you run commands like python manage.py runserver?The manage.py file is a command-line tool that helps you manage your Django project. It lets you run the development server, apply database migrations, create apps, and more.
settings.py file inside a Django project?settings.py file. What is its main role?The settings.py file contains all the configuration settings for your Django project, including database connections, installed apps, middleware, and more.
urls.py is missing in a Django app?urls.py file and try to include its URLs in the main project, what error will Django raise?If urls.py is missing in the app, Django cannot find the module when you try to include it in the main urls.py. This causes a ModuleNotFoundError.
python manage.py startapp blog?python manage.py startapp blog in your Django project, what folder structure is created inside the blog app folder?The startapp command creates a folder with several default files and a migrations folder to help you build your app.
Django looks for HTML templates inside templates/ folders. These can be at the project root or inside individual apps to organize templates.
