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
1 changed files with 4 additions and 4 deletions

View File

@ -40,12 +40,12 @@ template. Each element will be explained later in this document.::
<p>{{ story.tease|truncatewords:"100" }}</p>
{% endfor %}
{% endblock %}
.. 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
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
format.
@ -469,7 +469,7 @@ Built-in tag reference
* Margaret Thatcher
* Colendeeza Rice
* Unknown:
* Janet Reno
* Pat Smith
The following snippet of template code would accomplish this dubious task::