Changeset - f64ff4345072
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 6 years ago 2015-03-09 06:36:38
bkuhn@ebb.org
Rework to simply call with new kwargs.

Redo call so that I just get my own at call time.
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/views.py
Show inline comments
...
 
@@ -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()
0 comments (0 inline, 0 general)