Genshi wants the context as keyword arguments.
[toast/alpenzoo.git] / django_template_backend_genshi / __init__.py
index c9d365573a7e54d918102d2662e55ffa99580ec8..17240a21685dad65da3fa1a867b4acb169b22399 100644 (file)
@@ -45,5 +45,5 @@ class GenshiTemplateWrapper(object):
             context['request'] = request
             context['csrf_input'] = csrf_input_lazy(request)
             context['csrf_token'] = csrf_token_lazy(request)
-        stream = self.template.generate(dict=context)
+        stream = self.template.generate(**context)
         return stream.render()