← Back to Pull requests

Fixed #1466 -- Explained the fundraising running total and goal #2938

Open
chanellebingham opened this pull request with 27 lines diff across 3 files
View on GitHub
chanellebingham chanellebingham commented on Oct 27, 2026 22:44 UTC
Author

Fixes #1466.

The footnote under the donation heart only mentioned the logo threshold. This adds the wording agreed in the issue, so it now reads:

Your logo will be visible below if you contribute at least US $1,000.00. The running total represents donations made through this website only. The $500,000.00 goal is a funding level set to provide financial sustainability to the project.

The goal amount comes from the same goal_amount value the heart uses, and the logo amount still comes from display_logo_amount, so neither is hard-coded. I also dropped the trailing <br> from the string. It used to separate a FAQ link that was removed in ea254258.

This changes an existing translatable string, so the Swedish translation of the old sentence will need redoing on Transifex. I haven't touched the .po files, per the README.

One question: the running total also includes paid corporate membership invoices (added in 7a518500), which are entered in the admin rather than coming from the donation form. I've kept the agreed wording as it is, but I'm happy to change it if you'd like it to mention corporate memberships.

Testing

  • Added TestIndex.test_footnote_explains_running_total_and_goal. It patches GOAL_AMOUNT and checks that both new sentences render with that amount. It fails on main and passes with this change.

  • python -m manage test fundraising: 63 tests, OK (1 skipped, the live Stripe test).

  • Full make test app list locally against PostgreSQL 17: 16 failures/errors, and the same 16 fail on an unmodified main on my machine (Windows-specific, e.g. strftime("%-d") in checklists, and locale tests that need compiled .mo files). None are in fundraising.

  • The page was checked on the local dev server; before and after screenshots (light and dark) exist, and I can add them if they'd help.
  • AI Assistance Disclosure (REQUIRED)

    <!-- Select exactly ONE of the following: -->

  • No AI tools were used in preparing this PR.

  • If AI tools were used, I have disclosed which ones and fully reviewed and verified their output.
  • <!-- If AI tools were used, provide which tools were used below. -->

    I used Claude Code (Claude Opus 5.5) to investigate the issue, write the change and its test, and run the tests; I reviewed the diff before opening.

    Diff: 27 lines (+24 / -3) across 3 files Reviewer: jefftriplett Review duration: 54509m
    All Vouch review confidence checks passed
    Residual risk 0.10 = Change Risk (0.33) × (1 − Review Confidence (0.69)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.33 · 27 lines diff across 3 files
    0.33
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.57 · 5 substantive comment(s)
    0.57
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    69%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.199
    Real PR Conversation Timeline
    15 items
    SaptakS SaptakS commented on Oct 28, 2026 09:43 UTC
    Contributor

    Can someone from @django/fundraising confirm that this text change is correct based on the issue by @thibaudcolas ?

    codecov-commenter codecov-commenter commented on Oct 28, 2026 09:44 UTC
    Contributor

    :warning: Please install the !'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

    Codecov Report


    :white_check_mark: All modified and coverable lines are covered by tests.
    :warning: Please upload report for BASE (main@9f69c93). Learn more about missing BASE report.
    :exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

    <details><summary>Additional details and impacted files</summary>

    @@           Coverage Diff           @@
    ##             main    #2938   +/-   ##
    =======================================
      Coverage        ?   88.49%           
    =======================================
      Files           ?      201           
      Lines           ?     7829           
      Branches        ?      426           
    =======================================
      Hits            ?     6928           
      Misses          ?      811           
      Partials        ?       90           
    

    </details>

    :umbrella: View full report in Codecov by Harness.
    :loudspeaker: Have feedback on the report? Share it here.
    <details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

  • </details>

    chanellebingham chanellebingham commented on Oct 28, 2026 22:37 UTC
    Author

    @jefftriplett @SaptakS
    I understand.
    One correction, (since my name is on this): the description says I ran the tests myself, and that isn't right. Claude Code (Claude Opus 5.5) wrote the change and ran the tests. I should have said that plainly. I understand you guys would be overflowed. I meant no harm.

    jefftriplett jefftriplett commented on Oct 29, 2026 01:18 UTC
    Contributor

    @chanellebingham I reopened the pr since you replied. We reviewed this today, and it triggered some of our more automated-than-not meters, but we may have jumped the gun. Sorry about that and we'll give it a proper review.

    chanellebingham chanellebingham commented on Oct 29, 2026 08:05 UTC
    Author

    @jefftriplett , thanking you!!!!!!!!!!! yay!!!

    ryancheley ryancheley commented on Nov 02, 2026 15:33 UTC
    Contributor

    Per the Silver Plan page on DjangoProject.com the minimum amount needed to have your logo displayed is $5,500 BUT I am seeing on the Fundraising page that only $1,000 is needed.

    @jefftriplett I think we need to review the Fundraising page and logos displayed there OR update the Plans to be more clear on when logos are displayed

    cholmes5 cholmes5 commented on Nov 02, 2026 16:27 UTC
    Contributor

    Hey Ryan,

    What that means is that if you scroll down far enough, the Leaders level
    displays logo at $1000. Corporate membership starts now at $2200, and that
    does come with logo display, so I'm not sure where you're seeing it
    starting at Silver? But Leaders is a separate thing, they are general
    donors and we don't do any publicizing for them other than displaying the
    logo they submitted automatically for one year. Now, we could make changes,
    but this is what it is now.

    [image: Screenshot 2026-11-02 at 11.26.01 AM.png]

    Catherine Holmes

    On Mon, Nov 2, 2026 at 10:34 AM Ryan Cheley @.**>
    wrote:

    ryancheley left a comment (django/djangoproject.com#2938)

    <https://github.com/django/djangoproject.com/pull/2938#issuecomment-6581149225>

    > Per the Silver Plan page

    <https://www.djangoproject.com/sponsor/plans/silver/> on

    DjangoProject.com the minimum amount needed to have your logo displayed is

    $5,500 BUT I am seeing on the Fundraising

    <https://www.djangoproject.com/fundraising/> page that only $1,000 is

    needed.

    > @jefftriplett <https://github.com/jefftriplett> I think we need to review

    the Fundraising page and logos displayed there OR update the Plans to be

    more clear on when logos are displayed

    > —

    Reply to this email directly, view it on GitHub

    <https://github.com/django/djangoproject.com/pull/2938?email_source=notifications&email_token=AGTU6GSFV32UR63HKBLDHO35XCSPPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMNJYGEYTIOJSGI22M4TFMFZW63VMORSWC3K7NVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-6581149225>,

    or unsubscribe

    <https://github.com/notifications/unsubscribe-auth/AGTU6GRMW7NRSAIV4TO7UC35XCSPPAVCNFSNUABCKJSXA33TNF2G64TZHM3DSMBZGAZTWSLTON2WKOZWGA3DSMBSGMZDKMFBOYBA>

    .

    Triage notifications, keep track of coding agent tasks and review pull

    requests on the go with GitHub Mobile for iOS

    <https://github.com/notifications/mobile/ios/AGTU6GSF3WJUXD3XWKQBALL5XCSPPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMNJYGEYTIOJSGI22M4TFMFZW63VMORSWC3K7NVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y>

    and Android

    <https://github.com/notifications/mobile/android/AGTU6GVKZIZQKG7T2DH7AGT5XCSPPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMNJYGEYTIOJSGI22M4TFMFZW63VMORSWC3K7NVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.

    Download it today!

    You are receiving this because you are on a team that was mentioned.Message

    ID: @.**>

    >

    ryancheley ryancheley commented on Nov 02, 2026 22:45 UTC
    Contributor

    @cholmes5 thanks, you're right, and I misread it. The Silver plan page lists the fundraising-page logo, but the Bronze page ($2,200+) has the same line, so $5,500 isn't the threshold.

    I think what tripped me up is still worth fixing. fundraising has two separate logo paths:

  • Leaders get a logo for 365 days at $1,000+

  • Corporate members get one from $2,200/year.
  • The footnote under the heart sits right above the corporate sponsorship section but only mentions the $1,000 path. The Bronze card on sponsor also says "Corporate member listing and badge" and doesn't mention the logo. A company comparing the pages could reasonably be confused about which one applies.

    On the PR itself, @chanellebingham asked whether the running-total sentence should mention corporate memberships. I think it needs to. donation_form_with_heart() adds paid Invoice amounts to the Payment total, so "donations made through this website only" would be inaccurate as written.

    Something like:

    Donations of at least US $1,000 are listed under Leaders, with your logo, for 365 days. The running total includes donations made through this website

    and paid corporate memberships. The $500,000.00 goal is a funding level set to provide financial sustainability to the project.

    Happy to defer to the fundraising WG on exact wording.

    chanellebingham chanellebingham commented on Nov 03, 2026 21:01 UTC
    Author

    Thanks @ryancheley, you're right. donation_form_with_heart() adds paid corporate membership invoices to the running total, so "through this website only" was wrong.

    ce709d8 uses your wording. The footnote now says donations of at least US $1,000 are listed under Leaders, with your logo, for 365 days, and that the running total includes donations made through this website and paid corporate memberships. The 365 comes from DISPLAY_DONOR_DAYS, the same setting the Leaders section uses, and the test checks the new sentences.

    Happy to change the wording if the fundraising WG would like it different.

    cholmes5 cholmes5 commented on Nov 04, 2026 13:05 UTC
    Contributor

    I just think it’s too many words. If we want to remove the line entirely about Leaders and just let it be shown by scrolling down, we can. I don’t think that line is very important. It was made to encourage people to donate 1000+, but that’s not necessarily a realistic goal. Perhaps it will dissuade someone from donating 2200+. If the line looks odd, we can just remove it. It hasn’t always been there.

    Catherine

    On Nov 3, 2026, at 4:01 PM, Chanelle @.***> wrote:

    > ce709d8 <https://github.com/django/djangoproject.com/commit/ce709d827cb02f80b91ee4c47b18a27b47f1a679> uses your wording. The footnote now says donations of at least US $1,000 are listed under Leaders, with your logo, for 365 days, and that the running total includes donations made through this website and paid corporate memberships. The 365 comes from DISPLAY_DONOR_DAYS, the same setting the Leaders section uses, and the test checks the new sentences.

    chanellebingham chanellebingham commented on Nov 04, 2026 22:46 UTC
    Author

    Hello!
    Thanks, Catherine. Happy to take the Leaders line out so the footnote only explains the running total and the goal. Would you like me to do that? @ryancheley, that sentence was your wording, so I'm checking you're okay with it going. I don't want to cause any messes.

    ryancheley ryancheley commented on Nov 04, 2026 23:17 UTC
    Contributor

    @chanellebingham I am good with removing the lines as @cholmes5 has suggested

    chanellebingham chanellebingham commented on Nov 05, 2026 09:54 UTC
    Author

    Thank you, @ryancheley , @cholmes5 , @jefftriplett, as well as @SaptakS !! Legends!
    If anyone could also let me know if you any of you have further PR's you may think might challenge me, OR simply just have anything else for me to do - I typically have a lot of spare time and enjoy all the challenges. Fav part of my day!

    Again, thanks everyone. 🥳🥂

    jefftriplett jefftriplett approved these changes on Nov 09, 2026 15:31 UTC
    Approved Reviewer

    LGTM

    Reviewers
    Assignees
    chanellebingham chanellebingham
    Labels
    risk: low confidence: 69.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 32.9% (LOW) · Higher = larger blast radius
    32.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 69.2% · Lower = rushed or shallow review
    69.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 10.1% · Safe to merge
    10.1%