Django Book 翻译
菜单>:
TOC
返回
原文:
The first argument to ``render_to_response()`` should be the name of the template to use. The second argument, if given, should be a dictionary to use in creating a ``Context`` for that template. If you dont provide a second argument, ``render_to_response()`` will use an empty dictionary.
翻译:
``render_to_response()`` 的第一个参数必须是要使用的模板名称。如果要给定第二个参数,那么该参数必须是为该模板创建 ``Context`` 时所使用的字典。如果不提供第二个参数, ``render_to_response()`` 使用一个空字典。
备注:
译者: