X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/8318347602085438ff700b9c1d6b83f351deccd7..ac6ebd8b38a46afb0b249574be71a276f95b6efa:/docs/templatetags.rst diff --git a/docs/templatetags.rst b/docs/templatetags.rst new file mode 100644 index 0000000..60224eb --- /dev/null +++ b/docs/templatetags.rst @@ -0,0 +1,74 @@ +Template Tags +============= + +.. automodule:: philo.templatetags + +Collections ++++++++++++ + +.. automodule:: philo.templatetags.collections + + .. templatetag:: membersof + + membersof + --------- + + Usage:: + + {% membersof with . as %} + + +.. automodule:: philo.templatetags.containers + + .. templatetag:: container + + container + --------- + + Usage:: + + {% container [[references .] as ] %} + +.. automodule:: philo.templatetags.embed + + .. templatetag:: embed + + embed + ----- + + The {% embed %} tag can be used in two ways. + + To set which template will be used to render a particular model:: + + {% embed . with