What are some test methods for concurrent database operations with Django?
Actually, Django is not a problem here.
Your library for optimistic concurrency management should be tested on its own standalone device.
Beyond Django; using only unittest.
You need to test using multi-threaded (and multi-processor) test drivers. Beyond Django.
Once you make sure that this works, you can test inside Django to make sure the API works.
, , urllib2, Django. , Django, urllib2, Django.
, - , . .