Re: [web2py] Condition in view weird behaviour

2012-07-06 Thread Richard Vézina
Seems a little bug in template parser to me! Richard On Fri, Jul 6, 2012 at 3:17 AM, Annet wrote: > In a view I have the following code: > > > {{if session.cal.lesrooster or session.cal.event_list or > session.cal.cursusrooster:}} > {{include 'site/calendar.html'}} > {{pass}} > {{inc

[web2py] Condition in view weird behaviour

2012-07-06 Thread Annet
In a view I have the following code: {{if session.cal.lesrooster or session.cal.event_list or session.cal.cursusrooster:}} {{include 'site/calendar.html'}} {{pass}} {{include 'site/promoUnit.html'}} Despite session.cal.lesrooster, session.cal.event_list and session.cal.cursusroost