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 自定义模板(template)的标签(tags)和过滤器(filters).
To learn how to override templates in other Django applications, see 复写模板.
8月 23, 2019