-
User sends request through browser
-
The request arrives at the request middleware, which preprocesses the request or returns the response directly
-
If the response is not returned, it will reach the urlconf route and find the corresponding view function
-
The view function does the corresponding preprocessing or directly returns the response
-
Methods in View can selectively access underlying data through Models
-
After getting the corresponding data, go back to the django template system, and templates render the data to the template through filters or tags
-
Return the response to the browser and display it to the client