From 4ac4bdf21ca7d85491b1a17d386c96bd80715592 Mon Sep 17 00:00:00 2001 From: Armin Ronacher <armin.ronacher@active-4.com> Date: Sat, 6 Feb 2010 18:02:13 +0100 Subject: [PATCH] Documentation no longer mentiones "no multiple inheritance" support. that just confuses people. --HG-- branch : trunk --- docs/templates.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 <h1>{{ self.title() }}</h1> {% 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 -- 2.26.2