Files @ 875a3650f38d
Branch filter:

Location: website/www/conservancy/local_context_processors.py

bkuhn
Minor changes to formatting and header text.

The email address to contact about the GPL Compliance Program for Linux
Developers was incorrect, that's fixed to
<linux-services@sfconservancy.org> instead of
<compliance@sfconservancy.org>.

Add "Template Only" as a background image to the actual text to
discourage people from signing this unilaterally.
from conservancy.apps.fundgoal.models import FundraisingGoal as FundraisingGoal

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

def sitefundraiser(request):
    return {'sitefundgoal': fundgoal_lookup('supporterrun') }