模板

Django's template engine provides a powerful mini-language for defining theuser-facing layer of your application, encouraging a clean separation ofapplication and presentation logic. Templates can be maintained by anyone withan understanding of HTML; no knowledge of Python is required. For introductorymaterial, see 模板 topic guide.

参见

For information on writing your own custom tags and filters, see自定义模板(template)的标签(tags)和过滤器(filters).

To learn how to override templates in other Django applications, see复写模板.