| 66 | The output of the management command looks like the following. The grammar is simply extracted using introspection on the registered TemplateTags. As a parameter to the management command, you can pass a library name. |
| 67 | {{{ |
| 68 | $ ./manage.py templatetags |
| 69 | autoescape ::= autoescape endautoescape |
| 70 | block ::= block endblock |
| 71 | comment ::= comment endcomment |
| 72 | csrf_token ::= csrf_token |
| 73 | cycle ::= cycle |
| 74 | debug ::= debug |
| 75 | extends ::= extends |
| 76 | filter ::= filter endfilter |
| 77 | firstof ::= firstof |
| 78 | for ::= for empty? endfor |
| 79 | if ::= if elif* else? endif |
| 80 | ifchanged ::= ifchanged else? endifchanged |
| 81 | ifequal ::= ifequal else? endifequal |
| 82 | ifnotequal ::= ifnotequal else? endifnotequal |
| 83 | include ::= include |
| 84 | load ::= load |
| 85 | now ::= now |
| 86 | regroup ::= regroup |
| 87 | spaceless ::= spaceless endspaceless |
| 88 | ssi ::= ssi |
| 89 | templatetag ::= templatetag |
| 90 | url ::= url |
| 91 | verbatim ::= verbatim endverbatim |
| 92 | widthratio ::= widthratio |
| 93 | with ::= with endwith |
| 94 | }}} |
| 95 | |