Try using 'extends' in the child template: http://jinja.pocoo.org/2/documentation/templates#child-template
Robin On Jun 19, 9:11 am, Voltron <[email protected]> wrote: > No answers? > > On Jun 11, 8:39 am, Voltron <[email protected]> wrote: > > > Any ideas? > > > On Jun 9, 9:37 am, Voltron <[email protected]> wrote: > > > > Hi! > > > > I noticed that I could not override a block in a base template by a > > > child template. > > > > Given: > > > > #master.html > > > > <html> > > > > {% include "footer.html" %} > > > > </html> > > > > # footer.html > > > > <div>{% block footer_a %} {% endblock %}</div> > > > > # generic_template.html > > > > <div>{% block footer_a %} This value does not show up! {% endblock %}</ > > > div> > > > > The value here in the generic_template.html which is the child > > > template does not show up. Can someone tell me what I am doing wrong? > > > > Thanks > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pocoo-libs" 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/pocoo-libs?hl=en -~----------~----~----~----~------~----~------~--~---
