symposion_app/vendor/symposion
James Polley 5114076afa Make review changes atomic
This follows from investigations in
https://rt.lca2018.org/Ticket/Display.html?id=283&results=eac0bd3c49f782d054f87d6b160ca36b;
in short, it seems that because this very long and complex method
creates several different objects at differnt times, the DB has been
getting out of sync; there are more votes recorded then there are
reviews, becuase the table that stores the vote count is updated
before the table that stores the vote and review information

This change is intended to make this operation (and the other
operations that the revew_detail handler performs) atomic, to prevent
things getting further out of step. It does *not* fix the existing
incosistency.

review_delete has been atomicified as well as it likely needs the same
treatment, but this has not been examined in detail.
2017-08-09 12:27:41 +10:00
..
conference Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
locale Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
proposals Other suggested django migrations 2017-07-02 22:38:38 +10:00
reviews Make review changes atomic 2017-08-09 12:27:41 +10:00
schedule Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
speakers Travel assistance to sydney please 2017-07-31 22:48:49 +10:00
sponsorship Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
static Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
teams Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
utils Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
__init__.py Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
conf.py Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
constants.py Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
LICENSE Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
models.py Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
text_parser.py Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00
views.py Taking one out of PyCon's (US) book 2017-05-27 20:11:39 +10:00