django-concurrency icondjango-concurrency 0.5

Django concurrent model
django-concurrency is an optimistic locking library for Django 1.4.

How it works

Sample code:

from concurrency.fields import IntegerVersionField

class ConcurrentModel( models.Model ):
 version = IntegerVersionField( )


Now if if you try:

a = ConcurrentModel.objects.get(pk=1)
b = ConcurrentModel.objects.get(pk=1)
a.save()
b.save()


you will get a RecordModifedError on b.save()

last updated on:
September 21st, 2012, 18:54 GMT
price:
FREE!
developed by:
Stefano Apostolico
license type:
MIT/X Consortium License 
category:
ROOT \ Internet \ Django Plugins

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT