Has anyone got include working? I've been searching everywhere but find any simple examples of AppEngine including templates!
On Jan 22, 4:58 pm, Larry <larry.ches...@googlemail.com> wrote: > Thanks, but I really just want to use includes. > > On Jan 22, 4:52 pm, djidjadji <djidja...@gmail.com> 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...... > > > 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 > > > 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 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 -~----------~----~----~----~------~----~------~--~---