On Wed, Oct 15, 2008 at 4:02 PM, Frank Peterson
<[EMAIL PROTECTED]>wrote:

>
> I have something like the following
>
> {% ifequal flatpage.title "Special Reports" %}
>        <img src="http://example.com/icon_specialreports.png"; />
> {% endifequal %}
>
> I get the error
> 'ifequal' takes two arguments
> so it doesn't like the fact that "Special Reports" has a space in it.
>
> Is there a way around this?
>
> I'm on Django 0.91 (I cannot upgrade, because it's our corporate
> system and they have to upgrade it).
>

This was ticket #1522 fixed in revision 3112.  Sorry, no bright ideas for
avoiding the restriction occur to me, though I'll admit my inclination to do
creative thinking to work around things that were fixed 2+ years ago is not
high.  Perhaps looking at how it was fixed will give you some ideas.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to