title: What is the simplest way to lock an object in Django
body: <p>I want to raise error when a user tries to delete an object when some other users are active in update_object view. I feel some sort of mutex-like locking mechanism is needed for that. Do you have any suggestions?</p>