Skip to content

Commit 8f3add7

Browse files
committed
add jinja autoload option
1 parent 464d8f5 commit 8f3add7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ioc/extra/jinja2/resources/config/jinja.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
ioc.extra.jinja2:
1515
class: jinja2.Environment
1616
kwargs: # custom value
17+
auto_reload: '%ioc.debug%'
1718
autoescape: true
18-
cache_size: 200
19+
cache_size: 200
1920
loader: '@ioc.extra.jinja2.loader'

ioc/proxy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ def __repr__(self):
4141
build_object(object, self)
4242

4343
return repr(object.__getattribute__(self, "_obj"))
44-

0 commit comments

Comments
 (0)