Changeset - 87a658a6b654
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2015-05-10 00:25:25
bkuhn@ebb.org
correct variable name.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/fundgoal/views.py
Show inline comments
...
 
@@ -5,13 +5,13 @@ from django.http import JsonResponse
 

	
 
def view(request):
 
    """JSON version of request
 
    """
 
    keysForJSON = [ 'fundraiser_goal_amount', 'fundraiser_so_far_amount', 'fundraiser_donation_count',
 
                    'fundraiser_donation_count_disclose_threshold' ]
 
    GET = obj.GET
 
    GET = request.GET
 
    codeNames =  []
 
    if 'code_name' in GET: codeNames += GET.getlist('code_name')
 

	
 
    returnDict = {}
 
    for code in FundraisingGoal.objects.filter(fundraiser_code_name__in=codeNames):
 
        for kk in keysForJSON:
0 comments (0 inline, 0 general)