-
-
Notifications
You must be signed in to change notification settings - Fork 62
Feature/separate individual donations 247 #261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Feature/separate individual donations 247 #261
Conversation
- Add is_individual_donation boolean field to SponsorshipProfile model - Create migration 0005 for the new field - Add new cache keys and calculation functions for: * Individual donations count and amount * Corporate sponsors count and amount (excludes individual donations) * Total funds raised (sum of both) - Update admin to show and filter by is_individual_donation - Update sponsorship form to include the new field - Enhance sponsorship stats template with new breakdown section showing: * Individual Donations (count and amount) * Corporate Sponsors (count and amount) * Total Funds Raised * Progress to Goal - Keep existing sponsorship pipeline stats for detailed tracking Fixes pyladies#247
- Test individual donations count and amount calculation - Test corporate sponsors count and amount (excludes individual donations) - Test total funds raised (sum of both) - Verify correct separation between individual and corporate
- Explain model changes and new fields - Document new stats and cache keys - Provide usage examples for admin and code - Include testing instructions - Add migration and cache management guidance
✅ Deploy Preview for pyladiescon-portal-docs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
…own; remove duplicated 'We've raised' card
|
Thanks for starting on this. |
so basically you want me to replace the boolean by introducing a new Donation model in the sponsorship app, migrating existing SponsorshipProfile rows that have is_individual_donation=True to Donation rows, and then (in a separate migration) remove is_individual_donation , right ? |
WIP
#247