update: add extends, block, super, filter_block, autoescape and spaceless
This commit is contained in:
parent
261c02f59b
commit
0192ad0b64
3 changed files with 822 additions and 375 deletions
15
todo.md
15
todo.md
|
|
@ -7,7 +7,7 @@
|
|||
- [ ] cycle
|
||||
- [ ] debug
|
||||
- [x] extends
|
||||
- [ ] filter
|
||||
- [x] filter
|
||||
- [ ] firstof
|
||||
- [x] for
|
||||
- [x] if
|
||||
|
|
@ -89,3 +89,16 @@
|
|||
- [ ] wordwrap
|
||||
- [ ] yesno
|
||||
|
||||
___
|
||||
|
||||
## Doing
|
||||
|
||||
- [x] filter — super útil (ex.: {{ var|upper }})
|
||||
- [x] autoescape — segurança importante
|
||||
- [x] spaceless — remove espaços em branco
|
||||
- [ ] verbatim — como raw
|
||||
- [ ] url — reverse de URLs (quando tiver routing)
|
||||
- [ ] cycle — alternar valores em loop
|
||||
- [ ] firstof — fallback de variáveis
|
||||
- [ ] load — para custom tags/filters (futuro)
|
||||
- [ ] csrf_token — quando tiver web
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue