As it seems swig template is not able to do some basic stuff such as having two conditions within brackets inside an if
statement, I was wondering how you guys will deal with this without having to duplicate code:
{% if( absence.approved and absence.rejected) or (demo.demo and demo.test) %}
whatever
{% endif %}
Right now that breaks the view because Swig doesn't support it...
remove the brackets and it should work fine