Domanda di colloquio di TrueQC

Explain how Django request work?(HTTP request)

Risposta di colloquio

Anonimo

1 ago 2021

Django uses request and response objects to pass state through the system. When a page is requested, Django creates an HttpRequest object that contains metadata about the request. Then Django loads the appropriate view, passing the HttpRequest as the first argument to the view function.