steveire / grantlee

Libraries for text templating with Qt
Other
141 stars 50 forks source link

Complex if wip #5

Closed dantti closed 9 years ago

dantti commented 9 years ago

This branch implements full support for the Django if with tests included: https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#if

something like this: if foo and bar == "2" or "blue" in colors and not baz or 3 <= 10

as a side effect the invalid if not if not not both throw an exception