Changeset - 30b1a3d23ddf
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 6 years ago 2015-05-10 00:34:49
bkuhn@ebb.org
Correct attr in lookup as well.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/fundgoal/views.py
Show inline comments
...
 
@@ -17,7 +17,7 @@ def view(request):
 
        codeName = fundGoal.fundraiser_code_name
 
        returnDict[codeName] = {}
 
        for kk in keysForJSON:
 
            if hasattr(codeName, kk):
 
            if hasattr(fundGoal, kk):
 
                returnDict[codeName][kk] = getattr(fundGoal, kk)
 

	
 
    return JsonResponse( returnDict)
0 comments (0 inline, 0 general)