Comments (1)
That's a good idea, I will add some explanations to the README
file.
To answer quickly, here are some advantages of the package:
- No need to modify your models to use the locking mechanism : you don't "pollute" your datamodel with "non-data" fields. This also means you can use the locking mechanism on third party models that cannot be modified.
- No need to use sessions (but you can still use it if you need).
- Mechanism to check that an object is locked BEFORE trying to modify it.
- Rest API (+ javascript client to use it) out-of-the-box.
- Admin interface integration
Of course the packages you mention also cover some of those points, but I could not find any package that covers all of them at once.
This package was originally developed to prevent concurrency editing of complex objects via a web interface using AJAX calls. This can help you understand what kind of issues the package tries to resolve!
from django-lock-tokens.
Related Issues (12)
- Infinite RecursionError with inherited models HOT 7
- How do I enable token renewal for the LockableAdmin?
- Is there any better example on how to use it directly on the client side? HOT 1
- Lock not removed automatically even after user navigated to another page.
- Feature request: register user in lock token HOT 1
- Opening a duplicate tab of LockableModelAdmin leaves me completely locked out
- Getting it to work with custom change_form.html template HOT 2
- Atomic error on saving after expired lock HOT 11
- Softer handling of expired locks HOT 9
- LockableModel does not work as proxy HOT 4
- Page reload locks object in admin HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-lock-tokens.