What is Django?
Django is a high-level Python web framework that helps you build secure, scalable web applications quickly by providing built-in tools for URL routing, views, templates, database access (ORM), authentication, and more — so you don’t have to build those components from scratch.
What is the Django Project?
The top-level configuration container that allows you to define settings, middleware, environment variables, and global URLs.
What is a Django App?
A modular component within a project responsible for a specific feature (e.g., products, users).
What is the Django ORM?
The Django ORM (Object-Relational Mapper) is a high-level abstraction layer that lets you interact with your database using Python classes and methods instead of writing raw SQL.
It automatically translates Python operations into SQL queries behind the scenes, allowing you to:
What does a Django Model represent?
A Python class that maps to a SQL database table using Django’s ORM.
What is a View in Django?
A Django View is the component responsible for handling incoming HTTP requests, executing the necessary business logic, interacting with the database when needed, and returning an appropriate HTTP response (HTML, JSON, redirect, file, etc.).
What is the Django URL config file?
A mapping of URL paths to views that Django uses to route requests.
What are Templates in Django?
Templates in Django are HTML files that contain dynamic placeholders (using the Django Template Language) that the backend fills with data before sending the final HTML to the browser.
What are Django middlewares?
Request/response processing hooks that run globally, used for auth, security, sessions, etc.
What is the Request-Response Cycle in Django?
Browser → Middlware → URL Resolver → View → Model/DB → Response back to browser.