Django Book 翻译
菜单>:
TOC
返回
原文:
Next, we define a function called ``current_datetime`` . This is the view function. Each view function takes an ``HttpRequest`` object as its first parameter, which is typically named ``request`` .
翻译:
接下来,我们定义了一个叫做 ``current_datetime`` 的函数。这就是所谓的视图函数(view function)。每个视图函数都以一个 ``HttpRequest`` 对象为第一个参数,该参数通常命名为 ``request`` 。
备注:
译者: