1
0
mirror of https://github.com/django/django.git synced 2025-06-05 11:39:13 +00:00

Removed Janet Reno example from doc/templates.txt -- thanks, Bob

git-svn-id: http://code.djangoproject.com/svn/django/trunk@441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-09 21:42:27 +00:00
parent 4f00611f74
commit 32fe8e3863

View File

@ -40,12 +40,12 @@ template. Each element will be explained later in this document.::
<p>{{ story.tease|truncatewords:"100" }}</p> <p>{{ story.tease|truncatewords:"100" }}</p>
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}
.. admonition:: Philosophy .. admonition:: Philosophy
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 the Journal-World we use it for emails, just XML/HTML templates -- at the Journal-World we use it for emails,
Javascript, CSV -- you can use the template language for any text-based Javascript, CSV -- you can use the template language for any text-based
format. format.
@ -469,7 +469,7 @@ Built-in tag reference
* Margaret Thatcher * Margaret Thatcher
* Colendeeza Rice * Colendeeza Rice
* Unknown: * Unknown:
* Janet Reno * Pat Smith
The following snippet of template code would accomplish this dubious task:: The following snippet of template code would accomplish this dubious task::