Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
atomic transaction has to be ensured. bug was caught: addSlide & chan…
…geSlideOrder was executed at the same time, and then there was two slides with next_id == 0. this crashed Slide.objects.get(), as get() succeeds only when one-object-return is ensured.
- Loading branch information
1 parent
a7ed898
commit 6b7fe77
Showing
1 changed file
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters