Use the user defined inclusion template tag or {% include %} standard tag http://www.djangoproject.com/documentation/templates_python/#inclusion-tags
On 3 янв, 01:52, stryderjzw <[EMAIL PROTECTED]> wrote: > Hi, > > I have the same situation as a thread (http://groups.google.com/group/ > django-users/browse_thread/thread/2dbb2b7f01951a2/efbeb1f74be6e454? > lnk=gst&q=multiple+template+block) started in 2005. The idea is that > in my template, I want to use the same template block for both the > <title> and <h2> tags. > > I didn't seem to find any solutions for this. Has this been considered > since 2005? If not, what's a good solution to solve this problem? I'm > just duplicating this right now in my template. > > Thanks, > > Justin --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---