feat: Allow subclassing templates (#79)

This commit is contained in:
Kyle Fuller
2016-12-07 21:46:04 +00:00
committed by GitHub
parent d7b152089e
commit 26f30cbd9d
5 changed files with 28 additions and 8 deletions

View File

@@ -56,6 +56,9 @@
- You can now use `{{ block.super }}` to render a super block from another `{%
block %}`.
- `Environment` allows you to provide a custom `Template` subclass, allowing
new template to use a specific subclass.
### Deprecations
- `Template` initialisers have been deprecated in favour of using a template