Built-in template tags and filters of Django

Source: Internet
Author: User
Appendix F built-in template tags and filters

Chapter 4 lists many common built-in template tags and filters. However, Django comes with more built-in template labels and filters. The appendix in this chapter lists the built-in template tags and filters that Django contains when writing this book. However, new tags will be added regularly.

For the provided tags and filters, the best reference is to directly go to your management interface. The Django Management Interface contains a complete reference for all the tags and filters of the current site. To see it, go to your management interface and click the documentation (document) link in the upper-right corner.

The "tags and filters" section in the built-in documentation describes all built-in tags (in fact, the tag and filter references in this appendix are directly from there) and all available custom tag libraries.

For those who do not have site management available, the common tags and filters are provided here for reference. Since Django is highly customizable, the reference to the available tags and filters in the management interface can be considered as the most credible.


Built-in tag reference
Block

Define a block that can be covered by a quilt template. For more information, see Chapter 4 "template inheritance.


Comment

The template engine ignores{% Comment %}And{% Endcomment %}.

Detailed: valve http://www.tingcheba.com/tag/django

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.