The idea behind the Template layer is that the presentation layer code is separate from the business-layer code.
模板层背后的思想就是表示层代码与业务层代码分离。
The Template layer of a Django application allows you to separate the UI or presentation layout of a Web application from its data.
Django 应用程序的模板层允许您将 Web 应用程序的 UI 或显示布局与它的数据分开。
From navigation, to mapping URLs, writing template expressions, everything is supported with an extra layer of error-checking and static analysis.
从导航到URL映射及模板语言的编写,所有内容都由一个额外的错误检测及静态分析层所支撑。
应用推荐