Google News
logo
Django - Interview Questions
What happens when a typical Django website gets a request? Explain.
When a user enters a URL in the browser the same request is received by the Django Server.
 
The server then looks for the match of the requested URL in its URL-config and if the URL matches, it returns the corresponding view function.
 
It will then request the data from the Model of that application, if any data is required and pass it to the corresponding template which is then rendered in the browser, otherwise, a 404 error is returned.
T
Advertisement