Django Book 翻译
菜单>:
TOC
返回
原文:
Dots are also used to call methods on objects. For example, each Python string has the methods ``upper()`` and ``isdigit()`` , and you can call those in Django templates using the same dot syntax:
翻译:
句点还用于调用对象的方法。例如,每个 Python 字符串都有 ``upper()`` 和 ``isdigit()`` 方法,你在模板中可以使用同样的句点语法来调用它们:
备注:
译者: