模板

Django’s template engine provides a powerful mini-language for defining the user-facing layer of your application, encouraging a clean separation of application and presentation logic. Templates can be maintained by anyone with an understanding of HTML; no knowledge of Python is required. For introductory material, see 模板 topic guide.

参见

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

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