Re: Template inheritance and flatpages

2008-10-16 Thread chiggsy
> > Yeps. But use {% extends "base.html" %} instead - notice the quotes. Aie! How could I miss that? :( Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: Template inheritance and flatpages

2008-10-16 Thread bruno desthuilliers
On 16 oct, 12:32, chiggsy <[EMAIL PROTECTED]> wrote: > If I am using flatpages, can i have my flatpages/default.html inherit > from my sites base.html? > > I've a template dir, with a subdirectory "flatpages" and file > "default.html" inside that subdir. > > Now, in default.html the first line is

Template inheritance and flatpages

2008-10-16 Thread chiggsy
If I am using flatpages, can i have my flatpages/default.html inherit from my sites base.html? I've a template dir, with a subdirectory "flatpages" and file "default.html" inside that subdir. Now, in default.html the first line is {%extends base.html%} which is in the directory above the error: