From f64ff4345072b22f66151970a490af3b29d85100 2015-03-09 06:36:38 From: Bradley M. Kuhn Date: 2015-03-09 06:36:38 Subject: [PATCH] Rework to simply call with new kwargs. Redo call so that I just get my own at call time. --- diff --git a/www/conservancy/static/views.py b/www/conservancy/static/views.py index 49489f2aea398a3816170b12e3dc8a3b113c262d..29f1a12a2b156df22f9f7c6f65f79d8d363934af 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()