Reputation: 5827
How to detect a transaction deadlock in Django?
Which exception it raises?
It seems for me that it is IntegrityError
but this exception is raised also in other situations (not deadlocks). How to check if it is a deadlock?
Upvotes: 0
Views: 836
Reputation: 387
You can read more in django docs https://docs.djangoproject.com/el/1.10/ref/exceptions/#database-exceptions
Upvotes: 0