Django Book 翻译
菜单>:
TOC
返回
原文:
Using translations in Django templates uses two template tags and a slightly different syntax than in Python code. To give your template access to these tags, put ``{% load i18n %}`` toward the top of your template.
翻译:
Django模板使用两种模板标签,且语法格式与Python代码有些许不同。为了使得模板访问到标签,需要将 ``{% load i18n %}`` 放在模板最前面。
备注:
译者: