Skip to content

Commit dbaf121

Browse files
Fixed django#2580 -- Added missing </html> tag in docs/templates.txt examples. Thanks, [email protected]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent cccbe23 commit dbaf121

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/templates.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ It's easiest to understand template inheritance by starting with an example::
141141
{% block content %}{% endblock %}
142142
</div>
143143
</body>
144+
</html>
144145

145146
This template, which we'll call ``base.html``, defines a simple HTML skeleton
146147
document that you might use for a simple two-column page. It's the job of
@@ -196,6 +197,7 @@ like::
196197
<p>This is my second entry.</p>
197198
</div>
198199
</body>
200+
</html>
199201

200202
Note that since the child template didn't define the ``sidebar`` block, the
201203
value from the parent template is used instead. Content within a ``{% block %}``
@@ -363,7 +365,7 @@ extends
363365

364366
Signal that this template extends a parent template.
365367

366-
This tag can be used in two ways:
368+
This tag can be used in two ways:
367369

368370
* ``{% extends "base.html" %}`` (with quotes) uses the literal value
369371
``"base.html"`` as the name of the parent template to extend.
@@ -961,13 +963,13 @@ any string.
961963
pluralize
962964
~~~~~~~~~
963965

964-
Returns a plural suffix if the value is not 1. By default, this suffix is ``'s'``.
966+
Returns a plural suffix if the value is not 1. By default, this suffix is ``'s'``.
965967

966968
Example::
967969

968970
You have {{ num_messages }} message{{ num_messages|pluralize }}.
969971

970-
For words that require a suffix other than ``'s'``, you can provide an alternate
972+
For words that require a suffix other than ``'s'``, you can provide an alternate
971973
suffix as a parameter to the filter.
972974

973975
Example::

0 commit comments

Comments
 (0)