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 {%extends base.html%} which is > in the directory above > > the error: > > Template error: > In template /Users/kevin/Sites/lazyweb/templates/flatpages/ > default.html, error at line 1 > Invalid template name in 'extends' tag: ''. Got this from the > 'base.html' variable. > 1 : {%extends base.html%} > > is what i am trying to do allowed?
Yeps. But use {% extends "base.html" %} instead - notice the quotes. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---