On 15-8-2012 19:27, ernando wrote:
> I just checked provided code - and it works ok (1.4 Django). Are u using
> the latest version or 1.3 one?
Actually, my reply was a bit in a hurry cause I was on my way out. The
dollar sign means nothing to python or django templates, so it is just
raw text. J
H
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: ernando
Sender: django-users@googlegroups.com
Date: Wed, 15 Aug 2012 10:27:30
To:
Reply-To: django-users@googlegroups.com
Subject: Re: blocktrans inside a with tag
Sorry, didn't catch it :)
I
Sorry, didn't catch it :)
I just checked provided code - and it works ok (1.4 Django). Are u using
the latest version or 1.3 one?
-Dmitry
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups
On 15-8-2012 16:26, ernando wrote:
> I really didn't try to use blocktrans and with tags together but why do
> use val variable value with $ sign? Try just {{val}} one - it works ok for
> me.
Because it's a monetary ammount?
--
Melvyn Sopacua
--
You received this message because you are subs
I really didn't try to use blocktrans and with tags together but why do
use val variable value with $ sign? Try just {{val}} one - it works ok for
me.
- Dmitry
On Tuesday, August 14, 2012 2:41:16 AM UTC+3, Jason Buckner wrote:
>
> I would like to use a blocktrans tag inside a with tag so I can
I would like to use a blocktrans tag inside a with tag so I can dynamically
pass values to multiple blocktrans blocks. For instance:
{% with cost="250" %}
{% blocktrans with val=cost %} Blah blah ${{val}} {% endblocktrans %}
.
.
.
{% blocktrans with val=cost %} Blah blah ${{va
6 matches
Mail list logo