Skip to content

Commit 86d672e

Browse files
committed
Merge branch 'main' into release
2 parents 910fbe0 + fad5f2b commit 86d672e

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

sponsors/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class TargetableEmailBenefitsFilter(admin.SimpleListFilter):
258258
@cached_property
259259
def benefits(self):
260260
qs = EmailTargetableConfiguration.objects.all().values_list("benefit_id", flat=True)
261-
benefits = SponsorshipBenefit.objects.filter(id__in=Subquery(qs))
261+
benefits = SponsorshipBenefit.objects.filter(id__in=Subquery(qs), year=SponsorshipCurrentYear.get_year())
262262
return {str(b.id): b for b in benefits}
263263

264264
def lookups(self, request, model_admin):

sponsors/forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ def get_package(self):
127127
if not pkg_benefits and standalone: # standalone only
128128
pkg, _ = SponsorshipPackage.objects.get_or_create(
129129
slug="standalone-only",
130+
year=SponsorshipCurrentYear.get_year(),
130131
defaults={"name": "Standalone Only", "sponsorship_amount": 0},
131132
)
132133

138 Bytes
Binary file not shown.

templates/sponsors/sponsorship_application_finished.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<h1>Application submitted!</h1>
1414
<hr>
1515
<p><i>Thank you for submitting your application to sponsor the PSF ecosystem.</i></p>
16-
<p>Our team has been notified and will contact you within 2 business days to discuss next steps.</p>
16+
<p>Our team has been notified and will contact you within 5 business days to discuss next steps.</p>
1717
<p>A confirmation has been emailed to {% for item in notified %}{% if forloop.first %}{% else %}{% if forloop.last %} and {% else %}, {% endif %}{% endif %}{{item}}{% endfor %}. <i class="fa fa-question-circle" title="Note: we only email confirmations to addresses which python.org has previously contacted."></i></p>
1818
<p>If you have any questions please respond to the confirmation email or contact <a href="mailto:[email protected]">[email protected]</a></p>
1919
<p>- The Python Software Foundation Sponsorship Team</p>

0 commit comments

Comments
 (0)