Changeset - 3b0e6778e171
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 6 years ago 2015-03-09 03:50:42
bkuhn@ebb.org
Correct get call to use arg properly.

This was just a typo in from previous commit, more or less.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/urls.py
Show inline comments
...
 
@@ -37,9 +37,9 @@ handler404 = 'conservancy.static.views.handler404'
 

	
 
admin.autodiscover()
 

	
 
def fundgoal_lookup(fundraiser):
 
def fundgoal_lookup(fundraiser_sought):
 
 try:
 
     return FundraisingGoal.objects.get(fundraiser_code_name)
 
     return FundraisingGoal.objects.get(fundraiser_code_name=fundraiser_sought)
 
 except FundraisingGoal.DoesNotExist:
 
     # we have no object!  do something
 
     return None
0 comments (0 inline, 0 general)