If you are going to "select" something, mutate it in your python code, and then commit it back without exclusively locking the rows you want to edit, then of course you'll run into data races when concurrent requests attempt to mutate the data!
Ditching Django and using SQLAlchemy or even just the lowly dbapi directly will not alter this fact; indeed, it is something everyone who works with a database should know.
Ditching Django and using SQLAlchemy or even just the lowly dbapi directly will not alter this fact; indeed, it is something everyone who works with a database should know.