Re: Custom Tags and Includes, invalid block !
On Tuesday, June 19, 2012 12:37:29 AM UTC+2, upmauro wrote:
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" %}
Just as a side note : Django template system has template inheritance which is a way better solution than PHP-ish includes wrt/ site-wide page layout.
(snip - Guevara already answered the question).
--
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/-/y6BISY4Mn10J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home