Simple stupid bug
This commit is contained in:
parent
6cde4de534
commit
81dece47d7
@ -48,6 +48,9 @@ class Template(_Jinja2Template):
|
|||||||
"""
|
"""
|
||||||
dict_ = {}
|
dict_ = {}
|
||||||
|
|
||||||
|
if isinstance(context, dict):
|
||||||
|
dict_ = context
|
||||||
|
|
||||||
if isinstance(context, DjangoContext):
|
if isinstance(context, DjangoContext):
|
||||||
dict_ = dict_from_django_context(context)
|
dict_ = dict_from_django_context(context)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user