On 3 Aug 2012, at 4:34 PM, adohertyd <adoher...@hotmail.com> wrote:
> Just wondering if anyone has a solution to this. I have an if statement in a 
> view:
> 
> {{if conditionA == True:}}
> {{for obj in ListA:}}
> <li>{{=obj}}</li>
> {{pass}}
> {{pass}}
> 
> 
> 
> This works fine. Now, if I add another condition to the if statement, that I 
> know exists:
> 
> {{if conditionA == True and conditionB==True:}}
> {{for obj in ListB:}}
> <li>{{=obj}}</li>
> {{pass}}
> {{pass}}
> 
> 
> 
> It gives me no output but it definitely should. Am I missing something here? 
> I can't see any similar examples in the docs
> 

Are you sure that conditionB is a boolean value? For example, (1 == True) is 
True, but (2 == True) is False.

-- 



Reply via email to