symposion
symposion copied to clipboard
Replaces update_vote with a direct calculation from the database
Fixes #137. The previous update_vote broke severely on deletion. This optimises the queries done in full_calculate (to use a single annotate) and makes update_vote use the inner query of full_calculate. Far less weird, far more working.
The flake8 check here should now be properly placated. Oops
@paltman Can this be merged?