From f64ff4345072b22f66151970a490af3b29d85100 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 8 Mar 2015 23:36:38 -0700 Subject: [PATCH] Rework to simply call with new kwargs. Redo call so that I just get my own at call time. --- www/conservancy/static/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/conservancy/static/views.py b/www/conservancy/static/views.py index 49489f2a..29f1a12a 100644 --- a/www/conservancy/static/views.py +++ b/www/conservancy/static/views.py @@ -48,8 +48,7 @@ def fundgoal_lookup(fundraiser_sought): return None def index_with_fundraiser_data(request, *args, **kwargs): - kwargs['fundgoal'] = fundgoal_lookup(kwargs['fundraiser_sought']) - return index(request, kwargs) + return index(request, { 'fundgoal' : fundgoal_lookup(kwargs['fundraiser_sought']) }) def debug(request): path = request.get_full_path()