feat(helper/template): init jinja2 template helper
This commit is contained in:
parent
c518f281e8
commit
315f07c5ae
1 changed files with 6 additions and 0 deletions
6
src/httpaste/helper/template.py
Normal file
6
src/httpaste/helper/template.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from jinja2 import Environment, PackageLoader, select_autoescape
|
||||
|
||||
views = Environment(
|
||||
loader=PackageLoader("httpaste", "views"),
|
||||
autoescape=select_autoescape()
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue