How to handle concurrent modifications in django?
django-locking is the way to go.
I am trying to build a project(like e-commerce) using Django and integrate it with android. (I am not building website, I am trying mobile only, so I am using django-rest-framework to create api)
So my question is how to handle a case where two or more users can book an item at the same time when there is only a single item. (basically how to handle concurrent modification and access of data) ?
Please help. I am stuck on this one.