Changeset - 3b0e6778e171
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 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
...
 
@@ -34,15 +34,15 @@ from conservancy.feeds import BlogFeed, PressReleaseFeed, OmnibusFeed
 
# handler403 = 'conservancy.static.views.handler403'
 
handler404 = 'conservancy.static.views.handler404'
 
# handler500 = 'conservancy.static.views.handler500'
 

	
 
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
 

	
 
urlpatterns = patterns('',
 
    (r'^$', 'conservancy.frontpage.view'),
0 comments (0 inline, 0 general)