feat(for tag): Support where expressions (#96)

This commit is contained in:
Ilya Puchka
2017-04-11 12:39:00 +02:00
committed by Kyle Fuller
parent dc8759ba34
commit d1717df6ff
4 changed files with 60 additions and 16 deletions

View File

@@ -4,6 +4,7 @@
### Enhancements
- `for` block now can contain `where` expression to filter array items. For example `{% for item in items where item > 1 %}` is now supported.
- `if` blocks may now contain else if (`elif`) conditions.
```html+django
@@ -16,7 +17,6 @@
{% endif %}
```
## 0.8.0
### Breaking