Which function in django creates a HttpRequest instance and hands to a view?

后端 未结 2 1490
清酒与你
清酒与你 2021-02-14 01:57

Am try to understand the guts of django, and i cant get any good tutorial on this.

I know django views receive a HttpRequest instance as one of the arguments when they

2条回答
  •  花落未央
    2021-02-14 02:42

    django.core.handlers.base.BaseHandler is responsible for sending the request through the middleware and then on to the view. The concrete handlers in django.core.handlers are what actually generate the request object in the first place.

提交回复
热议问题