First step to a two-bar solution; make another SITE_FUNDGOAL …
… but don't use it yet.
This commit is contained in:
parent
67b344d2f4
commit
e5ea74887a
2 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ from .fundgoal.models import FundraisingGoal
|
||||||
|
|
||||||
def sitefundraiser(request):
|
def sitefundraiser(request):
|
||||||
try:
|
try:
|
||||||
fundgoal = FundraisingGoal.objects.get(fundraiser_code_name=settings.SITE_FUNDGOAL)
|
fundgoal = FundraisingGoal.objects.get(fundraiser_code_name=settings.SITE_FUNDGOAL_0)
|
||||||
except FundraisingGoal.DoesNotExist:
|
except FundraisingGoal.DoesNotExist:
|
||||||
fundgoal = None
|
fundgoal = None
|
||||||
return {'sitefundgoal': fundgoal}
|
return {'sitefundgoal': fundgoal}
|
||||||
|
|
|
||||||
|
|
@ -162,4 +162,5 @@ USETHESOURCE = {
|
||||||
'LIST_RECIPIENT': 'ccs-review@lists.sfconservancy.org',
|
'LIST_RECIPIENT': 'ccs-review@lists.sfconservancy.org',
|
||||||
}
|
}
|
||||||
|
|
||||||
SITE_FUNDGOAL = 'cy2025-end-year-match'
|
SITE_FUNDGOAL_0 = 'cy2025-end-year-match'
|
||||||
|
SITE_FUNDGOAL_1 = None
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue