Changeset - db40bda4190b
[Not reviewed]
0 1 0
Brett Smith (brett) - 5 years ago 2018-11-18 19:42:47
brett@sfconservancy.org
context_processors: Switch to the 2018 match.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/local_context_processors.py
Show inline comments
...
 
@@ -6,13 +6,13 @@ def fundgoal_lookup(fundraiser_sought):
 
        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('fy-2018-main-match') }
 
    return {'sitefundgoal': fundgoal_lookup('cy2018-end-year-match') }
 

	
 
if conservancy.settings.FORCE_CANONICAL_HOSTNAME:
 
    _HOST_URL_VAR = {'host_url': 'https://' + conservancy.settings.FORCE_CANONICAL_HOSTNAME}
 
    def host_url(request):
 
        return _HOST_URL_VAR
 
else:
0 comments (0 inline, 0 general)