0PricingLogin
Django Academy · Lesson

How a Request Reaches Your View

WSGI, the URL resolver, and the path to your code.

It Starts with a Click

Every Django page begins as an HTTP request. A browser asks for a URL, and Django's job is to answer with a response. 🌐

The Web Server Out Front

A web server like Nginx receives the raw request first. It handles networking, then hands the request off to Django to do the real work.

All lessons in this course

  1. How a Request Reaches Your View
  2. The HttpRequest Object
  3. Returning an HttpResponse
  4. Status Codes and HttpResponse Subclasses
← Back to Django Academy