Django Book 翻译
菜单>:
TOC
返回
原文:
Djangos template inheritance system solves these problems. You can think of it as an inside-out version of server-side includes. Instead of defining the snippets that are *common* , you define the snippets that are *different* .
翻译:
Django 的模板继承系统解决了这些问题。你可以将其视为服务器端 include 的逆向思维版本。你可以对那些 *不同* 的代码段进行定义,而不是 *共同* 代码段。
备注:
译者: