From: Armin Ronacher Date: Sat, 6 Feb 2010 17:02:13 +0000 (+0100) Subject: Documentation no longer mentiones "no multiple inheritance" support. that X-Git-Tag: 2.3~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ac4bdf21ca7d85491b1a17d386c96bd80715592;p=jinja2.git Documentation no longer mentiones "no multiple inheritance" support. that just confuses people. --HG-- branch : trunk --- diff --git a/docs/templates.rst b/docs/templates.rst index 33bbaeb..e03cd8a 100644 --- a/docs/templates.rst +++ b/docs/templates.rst @@ -354,9 +354,6 @@ If you want to print a block multiple times you can however use the special

{{ self.title() }}

{% block body %}{% endblock %} -Unlike Python Jinja does not support multiple inheritance. So you can only have -one extends tag called per rendering. - Super Blocks ~~~~~~~~~~~~ @@ -732,8 +729,7 @@ Extends The `extends` tag can be used to extend a template from another one. You can have multiple of them in a file but only one of them may be executed -at the time. There is no support for multiple inheritance. See the section -about :ref:`template-inheritance` above. +at the time. See the section about :ref:`template-inheritance` above. Block