It's important to note that Django's template system does not allow Python code to be executed directly from the template.
注意,Django 的模板系统不允许直接从模板执行Python代码。
Notice that you're naturally extending the capabilities of the template system, based on the capabilities of the Ruby programming language.
注意,您会很自然地在Ruby编程语言的功能的基础上扩展模板系统的功能。
By default, the filter in the template system will be named the same as the function or the other callable object.
默认,模板系统中的过滤器的名称和函数或者其他可调用对象的名称相同。
By default, the filter in the template system will be named the same as the function or the other callable object.
默认,模板系统中的过滤器的名称和函数或者其他可调用对象的名称相同。
应用推荐