On Thu, Mar 15, 2012 at 10:39 AM, dpbklyn <dpbk...@gmail.com> wrote:
> Hello and thank you in advance...
>
> In Django I have a child template that updates a base.html template. I
> keep getting an error:
>
>    <ExtendsNode: extends "base.html"> must be the first tag in the
> template.
>
> When the code in the child template looks like this:
>
>    {% extends "simple/base.html" %}
>
>     {% block picklist %}
>
>        <title></title>
>
>        <h1>Simple Index</h1> #...
> I dont get why I am getting this error, when the EXTENDS tag is
> clearly the first tag.
>
> Both the base and the child template live in the same directory, in my
> template path /simple.
>
> Thank you,
>
> dp
>
> --
> 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 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
Can you post the exact first several lines of your template?  Do you
repeat the {% extends tag somewhere again in your template?


-- 
Joel Goldstick

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to