pinax / symposion

a Django project for conference websites
BSD 3-Clause "New" or "Revised" License
299 stars 146 forks source link

Replaces update_vote with a direct calculation from the database #138

Open chrisjrn opened 8 years ago

chrisjrn commented 8 years ago

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.

chrisjrn commented 8 years ago

The flake8 check here should now be properly placated. Oops

ossanna16 commented 8 years ago

@paltman Can this be merged?