Have you looked at template-inheritance. I use it and it works great. It's more flexible then {% include %}
http://docs.djangoproject.com/en/dev/topics/templates/#template-inheritance http://www.djangoproject.com/documentation/0.96/templates/#template-inheritance Make sure title.html is not a static file. 2009/1/22 Larry <larry.ches...@googlemail.com>: > > Well I have some templates that I render and they all have a titlebar > so I would like to include that snippet from another file. I put that > in a file named title.html and use the code: > > {% include "title.html" %} > > wherever I want it. However, that the template is rendered without the > title HTML included! I'm sure this must be easy but I'm probably > missing something. > > What do I need to change to get this to work? > > Thanks, > Larry > > PS: I have already check > http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#include > to no avail. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---