Django is a popular framework. What is its main purpose?
Think about what Django helps developers do on the web.
Django is a web framework that helps build websites and web apps fast and safely.
Django has a feature called ORM. What does it do?
Think about how Django talks to databases.
Django's ORM lets you work with database data using Python code instead of SQL.
Which option correctly defines a text field in a Django model?
from django.db import models class Article(models.Model): content = ???
TextField is used for large text, CharField for short strings.
TextField stores large text data, suitable for article content.
At what point does Django middleware process a web request?
Middleware wraps around the request and response process.
Middleware runs code before the view handles the request and after the response is made.
You created a new app but forgot to add it to INSTALLED_APPS. What error will Django raise when you try to run migrations?
Think about what happens if Django can't find the app's models.
If an app is not in INSTALLED_APPS, Django's app registry is not ready to use its models, causing this error.