Updated template language philosophy in DTL docs.
This commit is contained in:
parent
faa08449dd
commit
e0757c49ac
|
@ -68,11 +68,8 @@ explained later in this document.
|
||||||
|
|
||||||
Why use a text-based template instead of an XML-based one (like Zope's
|
Why use a text-based template instead of an XML-based one (like Zope's
|
||||||
TAL)? We wanted Django's template language to be usable for more than
|
TAL)? We wanted Django's template language to be usable for more than
|
||||||
just XML/HTML templates. At World Online, we use it for emails,
|
just XML/HTML templates. You can use the template language for any
|
||||||
JavaScript and CSV. You can use the template language for any text-based
|
text-based format such as emails, JavaScript and CSV.
|
||||||
format.
|
|
||||||
|
|
||||||
Oh, and one more thing: making humans edit XML is sadistic!
|
|
||||||
|
|
||||||
.. _template-variables:
|
.. _template-variables:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue