Author: adrian
Date: 2006-08-21 13:27:33 -0500 (Mon, 21 Aug 2006)
New Revision: 3635
Modified:
django/trunk/docs/templates.txt
Log:
Fixed #2580 -- Added missing </html> tag in docs/templates.txt examples.
Thanks, [EMAIL PROTECTED]
Modified: django/trunk/docs/templates.txt
===================================================================
--- django/trunk/docs/templates.txt 2006-08-21 17:43:34 UTC (rev 3634)
+++ django/trunk/docs/templates.txt 2006-08-21 18:27:33 UTC (rev 3635)
@@ -141,6 +141,7 @@
{% block content %}{% endblock %}
</div>
</body>
+ </html>
This template, which we'll call ``base.html``, defines a simple HTML skeleton
document that you might use for a simple two-column page. It's the job of
@@ -196,6 +197,7 @@
<p>This is my second entry.</p>
</div>
</body>
+ </html>
Note that since the child template didn't define the ``sidebar`` block, the
value from the parent template is used instead. Content within a ``{% block
%}``
@@ -363,7 +365,7 @@
Signal that this template extends a parent template.
-This tag can be used in two ways:
+This tag can be used in two ways:
* ``{% extends "base.html" %}`` (with quotes) uses the literal value
``"base.html"`` as the name of the parent template to extend.
@@ -961,13 +963,13 @@
pluralize
~~~~~~~~~
-Returns a plural suffix if the value is not 1. By default, this suffix is
``'s'``.
+Returns a plural suffix if the value is not 1. By default, this suffix is
``'s'``.
Example::
You have {{ num_messages }} message{{ num_messages|pluralize }}.
-For words that require a suffix other than ``'s'``, you can provide an
alternate
+For words that require a suffix other than ``'s'``, you can provide an
alternate
suffix as a parameter to the filter.
Example::
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---