yang xiaoyong  committed 603320f Draft

how django handles request flow

  • Participants

Comments (0)

Files changed (1)

+How Django handles request
+1. A URL is requested
+2. The middleware is called (Request preprocssor)
+3. URL matched against of patterns
+4. middleware called again (View preprocssor)
+5. View is called
+6. Template is loaded and renderd
+7. Middleware is called (Response preprocessor)
+8  HTTP response is returned