Rework to simply call with new kwargs.
Redo call so that I just get my own at call time.
This commit is contained in:
parent
f8f37dd39c
commit
f64ff43450
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue