On Tue, Jun 23, 2009 at 10:16 PM, Steve Howell <showel...@yahoo.com> wrote:
> > Nothing posted is outside a block but it could be that the parent has > no title block? > I can't parse this sentence. The part of the original post where things didn't work is here: {% extends "base_form.html" %} {% with form.instance as object %} {% block title%} {{object.title}} <- not displayed :( {% endblock %} {% with %} is not inside a block, so there is no place for it to go in the parent template. That's why {{ object.titlte }} won't work inside the over-ridden title block -- without the {% with %}, object hasn't been assigned a value. Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---