feat: Add a default filter

This commit is contained in:
Kyle Fuller
2016-11-27 18:27:30 +00:00
parent 3293d8a526
commit dfd57e9571
5 changed files with 34 additions and 0 deletions

View File

@@ -12,6 +12,11 @@
### Enhancements
- You may now register custom template filters which make use of arguments.
- There is now a `default` filter.
```html+django
Hello {{ name|default:"World" }}
```
### Bug Fixes