Instruction: Explain what middleware is and how it is used in Django applications.
Context: This question evaluates the candidate's knowledge of middleware and its purpose in the request/response lifecycle within a Django application.
easy
easy
easy
medium
medium
hard