feat(for): Support filters

Closes #70
This commit is contained in:
Kyle Fuller
2016-11-28 19:12:48 +00:00
parent b1da85b140
commit b7e200a8a0
4 changed files with 52 additions and 14 deletions

View File

@@ -40,6 +40,14 @@
{{ value|join:", " }}
```
- `{% for %}` tag now supports filters.
```html+django
{% for user in non_admins|default:admins %}
{{ user }}
{% endfor %}
```
### Bug Fixes
- Variables (`{{ variable.5 }}`) that reference an array index at an unknown