Simple stupid bug

This commit is contained in:
Vladislav Polukhin 2015-01-20 09:31:19 +07:00
parent 6cde4de534
commit 81dece47d7

View File

@ -48,6 +48,9 @@ class Template(_Jinja2Template):
"""
dict_ = {}
if isinstance(context, dict):
dict_ = context
if isinstance(context, DjangoContext):
dict_ = dict_from_django_context(context)