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
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:
2 matches
Mail list logo