File python-micawber-no-context.patch of Package python-micawber

From 3b82fcc572ec2268c73b926a3ad75083f76d1856 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B3n=20Levy?= <nonni@nonni.cc>
Date: Sun, 23 Jul 2017 22:29:19 +0000
Subject: [PATCH] use dict instead of Context

---
 micawber/contrib/mcdjango/__init__.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/micawber/contrib/mcdjango/__init__.py b/micawber/contrib/mcdjango/__init__.py
index 9a82db7..a813aa5 100644
--- a/micawber/contrib/mcdjango/__init__.py
+++ b/micawber/contrib/mcdjango/__init__.py
@@ -35,11 +35,10 @@ def django_template_handler(url, response_data, **params):
     return mark_safe(
         render_to_string(
             template_names,
-            template.Context({
-                'params': params,
-                'response': response_data,
-                'url': url,
-            })).strip())
+            {'params': params,
+             'response': response_data,
+             'url': url,
+            }).strip())
 
 def fix_width_height(width_height, params):
     if width_height:
-- 
2.14.3