Updated template language philosophy in DTL docs.

This commit is contained in:
David Smith 2020-04-23 19:42:55 +01:00 committed by GitHub
parent faa08449dd
commit e0757c49ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -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: