Django Basics Interview QA
Django Basics Interview QA
What is Django?
Django is a high-level Python web framework that encourages rapid development and clean,
pragmatic design. It follows the MVT (Model-View-Template) architecture and helps
developers build secure, scalable, and maintainable web applications efficiently.
myproject/
manage.py # Command-line utility for Django
myproject/ # Main project directory
__init__.py # Marks directory as a Python package
settings.py # Configuration settings
urls.py # URL routing
wsgi.py # Entry point for WSGI servers
app_name/ # Django app (created separately)
models.py # Database models
views.py # View functions or class-based views
urls.py # App-specific URLs
templates/ # HTML templates
static/ # Static files (CSS, JS, images)