In a template, I use the following code:
{% load i18n %} {% include \"header.html\" %} {% include \"top_bar.html\" %}
But this produces several
Check this snippet: http://djangosnippets.org/snippets/569/. You can also convert it to middleware to avoid additional tags in your templates.