adspace


Explain how a request is processed in django?

Answer Posted / Deepika Rani

A request in Django is processed as follows:
1. The web server receives the HTTP request and forwards it to Django's URL dispatcher.
2. The URL dispatcher matches the incoming request against registered URL patterns and selects a view function.
3. The selected view function processes the request, generates a response, and returns it.
4. Middleware handles the response before it is sent back to the web server.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category