Commit graph

14 commits

Author SHA1 Message Date
60010999d2
Remove use of python3-future 2023-09-07 22:59:23 +10:00
adf2229720
Rename __unicode__ methods to __str__ following Django upgrade. 2022-01-11 09:13:46 +11:00
2d078b0004
Apply futurize --stage-2 Python 2/3 compatibility transformations.
These changes specifically require the use of the "future" library.
2021-11-30 07:55:45 +11:00
31e51a7742
Apply "object" changes only from futurize --stage2. 2021-11-26 13:49:40 +11:00
1ddcb2e4ba
Move fundraising goal end times into database. 2021-11-19 17:56:44 +11:00
Brett Smith
4fd27245d6 fundgoal: Add provider convenience methods to FundraisingGoal. 2018-11-18 14:42:47 -05:00
Brett Smith
2461bc19b1 fundgoal: Remove unnecessary import. 2018-11-18 14:39:18 -05:00
Brett Smith
621ace8488 fundgoal: Add goal providers. 2018-11-18 14:39:18 -05:00
Bradley M. Kuhn
8b469cff18 Support display of donation count in fundraiser.
Allow display of a donation count in the fundraiser pages, with an
optional threshold that must be met before it's displayed.
2015-03-11 18:10:28 -07:00
Bradley M. Kuhn
8888a12699 Import decimal needed. 2015-03-08 21:28:44 -07:00
Bradley M. Kuhn
65142c984a Convert 100.00 to Decimal for operation. 2015-03-08 21:27:13 -07:00
Bradley M. Kuhn
637dd98a68 self. was needed here. 2015-03-08 21:24:09 -07:00
Bradley M. Kuhn
027964192a Function to compute how far to the goal we are.
This is also inserted by the Javascript code as well, but no reason we
can't compute it server side, too.
2015-03-08 21:21:58 -07:00
Bradley M. Kuhn
d73018440a Initial hack at a fundraising goal application.
This simple application will simply store the code name and the to goal
of each fundraiser.  The so_far number will likely just be updated by
some external script, modifying the appropriate entry in the SQL
database.
2015-03-08 17:40:24 -07:00