Re: TemplateSyntaxError "Invalid block tag: 'include'"

2009-04-20 Thread Renato Untalan
Nevermind! I figured it out. Just for reference for those with a similar problem: "extends" and "include" aren't part of 'Template' and must be separately included: from django.template import Template, Context, loader from django.http import HttpResponse def render(request): admin_te

TemplateSyntaxError "Invalid block tag: 'include'"

2009-04-20 Thread Renato Untalan
Hey guys, new to Django, and i'm having a little trouble just getting basic includes working. I have a basic template "world.html" as follows: {% include 'hello.html' %} World With "hello.html" as follows: Hello - I'm getting the following error: