Django Book 翻译
菜单>:
TOC
返回
原文:
Then, we create a ``Context`` object, ``c`` . The ``Context`` constructor takes a Python dictionary, which maps variable names to values. Here, for example, we specify that the ``person_name`` is ``'John Smith'`` , ``product`` is ``'Super Lawn Mower'`` , and so forth.
翻译:
然后,我们创建一个 ``Context`` 对象, ``c`` 。 ``Context`` 构造的参数是Python 字典数据类型,在这里,我们给的参数是 ``person_name`` 值为 ``'John Smith'`` , ``product`` 值为 ``'Super Lawn Mower'`` ,等等。
备注:
译者: