views:

19

answers:

1
templates
    | ....a.html
    |.....admin
            |..... index.html
            |..... b.html

in google app engine templates, i can use this to extends b.html in index.html:

{% extends 'b.html' %}

but how to extends a.html in index.html.

thanks

+1  A: 

You can only have one extends per template. It's like single inheritance in OOP languages like C# and Java.

This question has an answer that will give you some good ideas for laying out your templates and having a good template inheritence scheme

Adam Crossland