Margie wrote:
> Thanks very much, autoescape did the trick, here is the result for
> anyone interested:
>
> {% autoescape off %}
> {{ task.done|yesno:" \" alt=\"False\" />, \"False\" />" }}
> {% endautoescape %}
>
Neat, but I think you need to correct your first alt
On Jan 26, 4:52 pm, Margie wrote:
> Thanks very much, autoescape did the trick, here is the result for
> anyone interested:
>
> {% autoescape off %}
> {{ task.done|yesno:" \" alt=\"False\" />, \"False\" />" }}
> {% endautoescape %}
>
> Margie
On Mon, 2009-01-26 at 14:52 -0800, Margie wrote:
> Thanks very much, autoescape did the trick, here is the result for
> anyone interested:
>
> {% autoescape off %}
> {{ task.done|yesno:" \" alt=\"False\" />, \"False\" />" }}
> {% endautoescape %}
Hmmm ... then that's
Thanks very much, autoescape did the trick, here is the result for
anyone interested:
{% autoescape off %}
{{ task.done|yesno:"," }}
{% endautoescape %}
Margie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On Jan 26, 3:58 pm, Almost George
wrote:
> On Jan 26, 3:39 pm, Margie wrote:
>
>
>
> > Hi,
>
> > I am trying to generate a symbol for true and false in my table, but
> > am having problems with the escaping of quotes and also with
> >
On Jan 26, 3:39 pm, Margie wrote:
> Hi,
>
> I am trying to generate a symbol for true and false in my table, but
> am having problems with the escaping of quotes and also with
> generating the < > tags. If I use the code below:
> {{ task.done|yesno:" \" />,"
This is just a quick guess without really knowing anything about the
yesno filter, but I would try single quotes inside the html in your
yesno filter
eg
On Mon, Jan 26, 2009 at 16:39, Margie wrote:
>
> Hi,
>
> I am trying to generate a symbol for true and false in my
Hi,
I am trying to generate a symbol for true and false in my table, but
am having problems with the escaping of quotes and also with
generating the < > tags. If I use the code below:
{{ task.done|yesno:"," }}
it ends up generating this:
< ends up being <, > ends up being > and
8 matches
Mail list logo