Fixed #2580 -- Added missing </html> tag in docs/templates.txt examples. Thanks, jonathan-django@jmail.za.net

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-08-21 18:27:33 +00:00
parent cccbe23006
commit dbaf1219d5
1 changed files with 5 additions and 3 deletions

View File

@ -141,6 +141,7 @@ It's easiest to understand template inheritance by starting with an example::
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div> </div>
</body> </body>
</html>
This template, which we'll call ``base.html``, defines a simple HTML skeleton 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 document that you might use for a simple two-column page. It's the job of
@ -196,6 +197,7 @@ like::
<p>This is my second entry.</p> <p>This is my second entry.</p>
</div> </div>
</body> </body>
</html>
Note that since the child template didn't define the ``sidebar`` block, the 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 %}`` value from the parent template is used instead. Content within a ``{% block %}``