Rework to simply call with new kwargs.

Redo call so that I just get my own at call time.
This commit is contained in:
Bradley M. Kuhn 2015-03-08 23:36:38 -07:00
parent f8f37dd39c
commit f64ff43450

View file

@ -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()