Metadata-Version: 1.1
Name: django-concurrency
Version: 0.6
Summary: Optimistic locking library for Django
Home-page: https://github.com/saxix/django-concurrency
Author: Stefano Apostolico
Author-email: s.apostolico@gmail.com
License: MIT License
Description: ==================
        Django Concurrency
        ==================
        
        
        .. image:: https://secure.travis-ci.org/saxix/django-concurrency.png?branch=develop
           :target: http://travis-ci.org/saxix/django-concurrency/
        
        
        .. image:: https://coveralls.io/repos/saxix/django-concurrency/badge.png?branch=develop
           :target: https://coveralls.io/r/saxix/django-concurrency
        
        .. image:: https://pypip.in/v/django-concurrency/badge.png
           :target: https://crate.io/packages/django-concurrency/
        
        .. image:: https://pypip.in/d/django-concurrency/badge.png
           :target: https://crate.io/packages/django-concurrency/
        
        
        django-concurrency is an optimistic locking library for Django.
        
        Tested with: 1.4.8, 1.5.4, 1.6b4, trunk.
        
        It prevents users from doing concurrent editing in Django both from UI and from a
        django command.
        
        
        
        How it works
        ------------
        sample code::
        
            from concurrency.fields import IntegerVersionField
        
            class ConcurrentModel( models.Model ):
                version = IntegerVersionField( )
        
        Now if you try::
        
            a = ConcurrentModel.objects.get(pk=1)
            b = ConcurrentModel.objects.get(pk=1)
            a.save()
            b.save()
        
        you will get a ``RecordModifiedError`` on ``b.save()``
        
        Links
        ~~~~~
        
           * Project home page: https://github.com/saxix/django-concurrency
           * Issue tracker: https://github.com/saxix/django-concurrency/issues?sort
           * Download: http://pypi.python.org/pypi/django-concurrency/
           * Docs: http://readthedocs.org/docs/django-concurrency/en/latest/
        
        
        
Keywords: django
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
