Question d’entretien chez TrueQC

Explain how Django request work?(HTTP request)

Réponse à la question d'entretien

Utilisateur anonyme

1 août 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.