Commit graph

10 commits

Author SHA1 Message Date
Denver Gingerich
0d3d9db4ed models: add months returning supporter had lapsed
A new public method, months_expired(), which is similar to the
existing status() in layout, but instead of returning whether the
supporter is new/active/lapsed/etc., it checks to see whether the
supporter is returning after having been lapsed, and if so, returns
the month range corresponding to how long they had been lapsed before
returning as a supporter in the current month.
2018-01-25 17:03:09 -05:00
Brett Smith
5b43b6d3f3 README: Update database migration method for Django 1.10. 2018-01-22 10:15:30 -05:00
Brett Smith
271f7a8c5b models: Update DateField to use Django 1.10 method. 2018-01-22 10:15:30 -05:00
Brett Smith
2b1bdb073d python models: Implement Supporter.supperter_type() with filters. 2017-02-17 15:24:40 -05:00
Brett Smith
8481bbf3b9 python models: Supporter.supporter_type() handles untagged payments. 2017-02-17 15:11:32 -05:00
Brett Smith
e2eab732ac python models: Add Date.strptime constructor. 2017-02-17 11:41:39 -05:00
Brett Smith
3751fe870f python: Initial documentation. 2017-01-25 15:35:10 -05:00
Brett Smith
8eb1854b8b python: Add status_report script. 2017-01-25 11:08:21 -05:00
Brett Smith
bc21b83951 python: Add Supporter pseudo-model. 2017-01-25 08:58:54 -05:00
Brett Smith
b32e72b1e8 python: Start Django project.
This is enough code to load Ledger data into Django models.
2017-01-24 13:31:30 -05:00