Explain how a request is processed in django?



Explain how a request is processed in django?..

Answer / 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

More Django Python Interview Questions

what is some typical usage of middlewares in django?

1 Answers  


How does django csrf work?

1 Answers  


Types of Session handling methods in Django?

1 Answers  


List type of inheritance supported in django?

1 Answers  


What is meant by django in python?

1 Answers  


What are the roles of receiver and sender in signals?

1 Answers  


What is python framework?

1 Answers  


What is flask session?

1 Answers  


Should I use django?

1 Answers  


Is django stable?

1 Answers  


What is the role of cookie in django?

1 Answers  


Explain how you can set up the database in django.

1 Answers  


Categories