diff --git a/conservancy/context_processors.py b/conservancy/context_processors.py index 3c6ed3d2..24cb2afc 100644 --- a/conservancy/context_processors.py +++ b/conservancy/context_processors.py @@ -7,7 +7,11 @@ def sitefundraiser(request): fundgoal0 = FundraisingGoal.objects.get(fundraiser_code_name=settings.SITE_FUNDGOAL_0) except FundraisingGoal.DoesNotExist: fundgoal0 = None - return {'sitefundgoal0': fundgoal0 } + try: + fundgoal1 = FundraisingGoal.objects.get(fundraiser_code_name=settings.SITE_FUNDGOAL_1) + except FundraisingGoal.DoesNotExist: + fundgoal1 = None + return {'sitefundgoal0': fundgoal0, 'sitefundgoal1': fundgoal1 } def host_url(request):