On 24/08/13 14:56, Ariel Calzada wrote:
you have to append strings first
http://stackoverflow.com/questions/4386168/how-to-concatenate-strings-in-django-templates
and then call trans
2013/8/24 Some Developer <someukdevelo...@gmail.com
<mailto:someukdevelo...@gmail.com>>
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 <http://app.name> }}
and the block code:
{% block title %}
{% trans "{{ app.name <http://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.
Aha. Thank you! I knew there was something I was missing.
--
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.