WSGI is the handoff between a web server and a Python web application such as Django. It keeps the jobs distinct: the web server receives the browser request, WSGI calls Django, and Django generates the response. section 1.1
Figure 1.1 Django handling a page visit
Follow the request from browser to web server, through WSGI and Django, to the view that formulates the response. section 1.1
A typical page visit proceeds like this:
- The browser requests a URL from the web server. section 1.1
- The web server passes the relevant request to Django through WSGI. section 1.1
- Django matches the URL to a view, and the view produces the page response. section 1.1

