eHealth4everyone interview question

Explain request-response protocol in django

Interview Answer

Anonymous

13 Sept 2022

While logging into Django based website, you open the login page. It happens because View will process the request and send it to the login page URL. Then the response is sent from a server to the browser. After then, you'll enter the credentials in Template, and the data sent back to the View to rectify the request, and then data is presented in the Model. Then the Model verifies the data provided by the user in the connected database. If the user's data matches, it sends the related data (profile name, image, etc.) to the Views. Otherwise, the model passes the negative result to the Views. That's how the Django MVT architecture is working.