X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/ac6ebd8b38a46afb0b249574be71a276f95b6efa..46bfbcf188fa31bea2c08c14df696e136d4983e3:/docs/templatetags.rst diff --git a/docs/templatetags.rst b/docs/templatetags.rst index 60224eb..41d30d5 100644 --- a/docs/templatetags.rst +++ b/docs/templatetags.rst @@ -7,68 +7,36 @@ Collections +++++++++++ .. automodule:: philo.templatetags.collections - - .. templatetag:: membersof - membersof - --------- - - Usage:: - - {% membersof with . as %} +.. autotemplatetag:: membersof +Containers +++++++++++ .. automodule:: philo.templatetags.containers - .. templatetag:: container - - container - --------- - - Usage:: - - {% container [[references .] as ] %} + +.. autotemplatetag:: container + + +Embedding ++++++++++ .. 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