﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13373	IF tag no longer short-circuits		nobody	"It looks like {% if %} with OR or AND no longer short circuits under 1.2-beta-1. 

class Page(models.Model): 
        ... 
        def beTrue(self): 
                print ""BEING TRUE"" 
                return True 
        def beFalse(self): 
                print ""BEING FALSE"" 
                return False 

{% if page.beTrue or page.beFalse %} 
        HELLO 
{% endif %} 

Under 1.1.1, using manage.py runserver, I will only see ""BEING TRUE"" printed for the above snippet. Under 1.2-beta-1, I see both BEING TRUE and BEING FALSE. 

Similarly, 

{% if page.beFalse and page.beTrue %} 
        HELLO 
{% endif %} 

will produce only ""BEING FALSE"" under 1.1.1, but both BEING FALSE and BEING TRUE under 1.2-beta-1. "		closed	Template system	1.2-beta		fixed			Accepted	0	0	0	0	0	0
