mirror of https://github.com/django/django.git
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:
parent
4f00611f74
commit
32fe8e3863
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in New Issue