I have a title and a header block which normally contain static text but for some pages I need to display some dynamic information contained in a template variable.

So I might have the template variable: {{ app.name }}

and the block code:

{% block title %}
        {% trans "{{ app.name }} Information" %}
{% endblock %}

Obviously this doesn't work. What is the correct way to solve this issue? I've done it in the past but I can't for the life of me remember how.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to