sorry -

it is in the template an the traceback thrown is:

'if' statement improperly formatted



On Mar 25, 12:11 pm, Tom Evans <tevans...@googlemail.com> wrote:
> On Thu, Mar 25, 2010 at 4:09 PM, Bobby Roberts <tchend...@gmail.com> wrote:
> > 92     {%ifequal au.ReservePrice 0%}
> > 93           None
> > 94     {%else%}
> > 95           {%if au.ReservePrice > au.currentbid %}Met{%else%}Not
> > Met{%endif%}
> > 96      {%endifequal%}
>
> Since you haven't said what goes wrong with it, I will have to guess
> that it is valid template code (looks it) but it just doesn't behave
> as you expect. In that case, I'd imagine that somewhere you are
> comparing a string to an int, probably in the ifequal.
>
> Cheers
>
> Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to