Hi!
Try {% load name_of_custom_tag %} after the extends tag in template.


2012/6/18 upmauro <upma...@gmail.com>

> Hello, sorry my english !
>
> I have one question, i create one custom tag and this works fine.
>
> But i have a situation :
>
> *site.html*
> *
> *
> {% include "header.html" %}
>
> Django looks the best framework for web !
>
> {% include "footer.html" %}
>
> If, i use {% load %} in site.html, tag works, but if i {% load %} tag in
> "header.html", when i try use custom tag in site.html raise Invalid block
> tag.
>
> In short, if I load the page included a tag on it is not recognized in the
> current page.
>
> Meant to be?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/E7i9EQSjhCoJ.
> 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.
>

-- 
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