How to handle low capacity, multiple request update in django

In booking system, I have slot with capacity. now lets consider there is only 1 capacity is available and more two users are trying book the slot, at the same time. how I can handle this scenario?

looking for any solutions from community.

Back to Top