Cole Tuininga wrote:
> Fair enough.  Is there a better way to accomplish this?  I'd much
> prefer to have the title defined within the template rather than
> having to pass it in as a variable from the view...

I've hit the same snag before. The block you're defining must be
present in the parent template (and not just the parent's parent),
which can be tricky when you've got multiple levels of inheritance or
included templates.

Is there a strong reason for putting the doc_head.tmpl code in a
separate file? If you put that code directly into your base template,
the title block would inherit the way you want.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to