Django Book 翻译
菜单>:
TOC
返回
原文:
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. Each view is responsible for returning an ``HttpResponse`` object.
翻译:
当一个页面被请示时,Django创建一个包含请求元数据的 ``HttpRequest`` 对象。 然后Django调入合适的视图,把 ``HttpRequest`` 作为视图函数的第一个参数 传入。每个视图要负责返回一个 ``HttpResponse`` 对象。
备注:
译者: