Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2580 -- Added missing </html> tag in docs/templates.txt exampl…

…es. Thanks, jonathan-django@jmail.za.net

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit dbaf1219d56aa085a6585066b83f2606844c6883 1 parent cccbe23
Adrian Holovaty authored August 21, 2006

Showing 1 changed file with 5 additions and 3 deletions. Show diff stats Hide diff stats

  1. 8  docs/templates.txt
8  docs/templates.txt
@@ -141,6 +141,7 @@ It's easiest to understand template inheritance by starting with an example::
141 141
             {% block content %}{% endblock %}
142 142
         </div>
143 143
     </body>
  144
+    </html>
144 145
 
145 146
 This template, which we'll call ``base.html``, defines a simple HTML skeleton
146 147
 document that you might use for a simple two-column page. It's the job of
@@ -196,6 +197,7 @@ like::
196 197
             <p>This is my second entry.</p>
197 198
         </div>
198 199
     </body>
  200
+    </html>
199 201
 
200 202
 Note that since the child template didn't define the ``sidebar`` block, the
201 203
 value from the parent template is used instead. Content within a ``{% block %}``
@@ -363,7 +365,7 @@ extends
363 365
 
364 366
 Signal that this template extends a parent template.
365 367
 
366  
-This tag can be used in two ways: 
  368
+This tag can be used in two ways:
367 369
 
368 370
    * ``{% extends "base.html" %}`` (with quotes) uses the literal value
369 371
      ``"base.html"`` as the name of the parent template to extend.
@@ -961,13 +963,13 @@ any string.
961 963
 pluralize
962 964
 ~~~~~~~~~
963 965
 
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'``.
965 967
 
966 968
 Example::
967 969
 
968 970
     You have {{ num_messages }} message{{ num_messages|pluralize }}.
969 971
 
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
971 973
 suffix as a parameter to the filter.
972 974
 
973 975
 Example::

0 notes on commit dbaf121

Please sign in to comment.
Something went wrong with that request. Please try again.