Django的乐观锁实现。防止用户进行并发编辑。
django-concurrenc的Python项目详细描述
=====
django并发性
=====
图片::https://badge.fury.io/py/django concurrency.svg
:目标:http://badge.fury.io/py/django concurrency
:alt:pypi package
受支持的django版本:1.8.x、1.9.x、1.10.x、1.11.x、2.x
它防止用户从ui和
django命令在django中执行并发编辑。
rentmodel(models.model):
version=integerserverionfield()
name=models.charfield(最大长度=100)
a.save()
b.save()
d"乐观锁管理系统,这里有一些其他地方没有的功能:
*可以应用于任何模型;不仅是您的代码(即django.contrib.auth.group)
*处理"列表可编辑"变更列表。(handle`11313<;https://code.djangoproject.com/ticket/11313>;` ` ` `}
*管理管理员操作中的并发冲突
*可以拦截django应用程序中执行的更改(即使用pgadmin、phpmyadmin、toads)(使用"triggerversionfield"
*如果需要,可以禁用(请参阅"dis能够处理复杂的业务规则——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————O-并发性
+———————————————————————————————————————————————————————————————————————————————————————————————————排序
+—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————-concurrency.readthedocs.org/en/latest/
+————————————————————————————————————————————————————————————————————————————|主构建图像::https://secure.travis-ci.org/saxix/django-concurrency.svg?branch=master
:目标:http://travis ci.org/saxix/django concurrency/
…|主cov image::https://codecov.io/gh/saxix/django concurrency/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/saxix/django concurrency
。|主文档图片:https://readthedocs.org/projects/django-concurrency/badge/?version=stable
:目标:http://django concurrency.readthedocs.io/en/stable/
| dev build image::https://secure.travis-ci.org/saxix/django-concurrency.svg?分支=开发
:目标:http://travis ci.org/saxix/django concurrency/
…| dev cov image::https://codecov.io/gh/saxix/django concurrency/branch/develop/graph/badge.svg
:目标:https://codecov.io/gh/saxix/django concurrency
。|开发文档图像::https://readthedocs.org/projects/django-concurrency/badge/?version=stable
:目标:http://django concurrency.readthedocs.io/en/stable/
| wheel image::https://img.shields.io/pypi/wheel/django concurrency.svg
u list-editable:https://django concurrency.readthedocs.org/en/latest/admin.html list-editable
_ django-locking:https://github.com/stdbrouw/django locking
…_ django-optimistic-lock:https://github.com/gavinwahl/django乐观锁
…_ triggerversionfield:https://django concurrency.readthedocs.org/en/latest/fields.html;triggerversionfield
……_ conditionalversionfield:https://django concurrency.readthedocs.org/en/latest/fields.html;conditionalversionfield
。_禁用并发:https://django-concurrency.readthedocs.org/en/latest/api.html?#禁用并发性
…图片::https://badges.gitter.im/join%20chat.svg
:alt:在https://gitter.im/saxix/django concurrency上加入聊天
:目标:https://gitter.im/saxix/django-concurrency?联合技术手册来源=徽章和联合技术手册媒介=徽章和联合技术手册活动=公关徽章和联合技术手册内容=徽章
django并发性
=====
图片::https://badge.fury.io/py/django concurrency.svg
:目标:http://badge.fury.io/py/django concurrency
:alt:pypi package
受支持的django版本:1.8.x、1.9.x、1.10.x、1.11.x、2.x
它防止用户从ui和
django命令在django中执行并发编辑。
rentmodel(models.model):
version=integerserverionfield()
name=models.charfield(最大长度=100)
a.save()
b.save()
d"乐观锁管理系统,这里有一些其他地方没有的功能:
*可以应用于任何模型;不仅是您的代码(即django.contrib.auth.group)
*处理"列表可编辑"变更列表。(handle`11313<;https://code.djangoproject.com/ticket/11313>;` ` ` `}
*管理管理员操作中的并发冲突
*可以拦截django应用程序中执行的更改(即使用pgadmin、phpmyadmin、toads)(使用"triggerversionfield"
*如果需要,可以禁用(请参阅"dis能够处理复杂的业务规则——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————O-并发性
+———————————————————————————————————————————————————————————————————————————————————————————————————排序
+—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————-concurrency.readthedocs.org/en/latest/
+————————————————————————————————————————————————————————————————————————————|主构建图像::https://secure.travis-ci.org/saxix/django-concurrency.svg?branch=master
:目标:http://travis ci.org/saxix/django concurrency/
…|主cov image::https://codecov.io/gh/saxix/django concurrency/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/saxix/django concurrency
。|主文档图片:https://readthedocs.org/projects/django-concurrency/badge/?version=stable
:目标:http://django concurrency.readthedocs.io/en/stable/
| dev build image::https://secure.travis-ci.org/saxix/django-concurrency.svg?分支=开发
:目标:http://travis ci.org/saxix/django concurrency/
…| dev cov image::https://codecov.io/gh/saxix/django concurrency/branch/develop/graph/badge.svg
:目标:https://codecov.io/gh/saxix/django concurrency
。|开发文档图像::https://readthedocs.org/projects/django-concurrency/badge/?version=stable
:目标:http://django concurrency.readthedocs.io/en/stable/
| wheel image::https://img.shields.io/pypi/wheel/django concurrency.svg
u list-editable:https://django concurrency.readthedocs.org/en/latest/admin.html list-editable
_ django-locking:https://github.com/stdbrouw/django locking
…_ django-optimistic-lock:https://github.com/gavinwahl/django乐观锁
…_ triggerversionfield:https://django concurrency.readthedocs.org/en/latest/fields.html;triggerversionfield
……_ conditionalversionfield:https://django concurrency.readthedocs.org/en/latest/fields.html;conditionalversionfield
。_禁用并发:https://django-concurrency.readthedocs.org/en/latest/api.html?#禁用并发性
…图片::https://badges.gitter.im/join%20chat.svg
:alt:在https://gitter.im/saxix/django concurrency上加入聊天
:目标:https://gitter.im/saxix/django-concurrency?联合技术手册来源=徽章和联合技术手册媒介=徽章和联合技术手册活动=公关徽章和联合技术手册内容=徽章