Changes between Version 2 and Version 3 of TemplateTagsCheatSheet
- Timestamp:
- Jun 20, 2006, 11:51:51 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TemplateTagsCheatSheet
v2 v3 1 = = Template Tags ==1 = Template Tags Cheat Sheet = 2 2 3 == = Inheritance and Inclusion ===3 == Inheritance and Inclusion == 4 4 5 5 * {% extends "base.html "%} … … 8 8 * {% ssi /home/html/ljworld.com/includes/right_generic.html %} 9 9 10 == = Filters and Tags ===10 == Filters and Tags == 11 11 12 12 * {% load <tag_or_filter_lib> %} 13 13 * {% filter <filter>[|<filter>...] %} 14 14 15 == = Control ===15 == Control == 16 16 17 17 * {% for o in some_list %} ... {% endfor %} … … 25 25 * {% regroup people by gender as grouped %} ... {% for group in grouped %} {{ group.grouper }} ... 26 26 27 == = Others ===27 == Others == 28 28 29 29 * {% templatetag (openblock|closeblock|openvariable|closevariable|openbrace|closebrace) %}