summaryrefslogtreecommitdiff
path: root/docs/templates.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-09 21:42:27 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-09 21:42:27 +0000
commit32fe8e3863a39c10826225b6938233fb31a83f0a (patch)
tree9738a7868edc641a58aab2b37b959bd46d9a6157 /docs/templates.txt
parent4f00611f747b566cb7586f02462e57829424f077 (diff)
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
Diffstat (limited to 'docs/templates.txt')
-rw-r--r--docs/templates.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/templates.txt b/docs/templates.txt
index 96990b829f..c4d1e73e16 100644
--- a/docs/templates.txt
+++ b/docs/templates.txt
@@ -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::