diff --git a/docs/templates.html b/docs/templates.html index 8d34e1f..f33be70 100644 --- a/docs/templates.html +++ b/docs/templates.html @@ -101,6 +101,37 @@ The data values within the Items array are as follows:

new_ are only set if their values differ from the previous Item.

+

django

+ +

+ If you have the Django + framework installed, + Django templates are automatically available to Venus + projects. You will have to save them with a .html.dj + extension in your themes. The variable set is the same as the one + from htmltmpl, above. In the Django template context you'll have + access to Channels and Items and you'll be + able to iterate through them. +

+ +

+ If you lose your way and want to introspect all the variable in the + context, there's the useful {% debug %} template tag. +

+ +

+ In the themes/django/ you'll find a sample Venus theme + that uses the Django templates that might be a starting point for + your own custom themes. +

+ +

+ All the standard Django template tags and filter are supposed to + work, with the notable exception of the date filter and + the now tag. +

+

xslt

XSLT is a paradox: it actually makes some simple things easier to do than htmltmpl, and certainly can