hasadna / Open-Knesset

A project aimed at making the Israeli Knesset more transparent. Python and Django based
http://oknesset.org/
BSD 3-Clause "New" or "Revised" License
106 stars 175 forks source link

Bugfix 635 629 Bill statistics calculation and bill queryset display fixing logic #662

Closed alonisser closed 8 years ago

alonisser commented 8 years ago

Relating issues

Issue link and do the pull request resolves it. e.g:

More issues here:

Keep backwards compat with optional waffle switch (if we see this is broken we can revert back to previous behavior almost effortless. Switch name: 'use_old_statistics'

Post deploy I'll need to run a management command to update statistics : "recalc_mks_bill_stats"

OriHoch commented 8 years ago

good job on the models refactor - much needed..