Thanks, but I really just want to use includes.
On Jan 22, 4:52 pm, djidjadji <[email protected]> wrote:
> 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-inher...http://www.djangoproject.com/documentation/0.96/templates/#template-i...
>
> Make sure title.html is not a static file.
>
> 2009/1/22 Larry <[email protected]>:
>
>
>
> > 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
> > checkhttp://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=old...
> > 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---