Skip to main content

Advisory per-record database locking.

Project description

record_lock is a Django app providing advisory per-record locks. For example, you may want to mark an editable page as being “in use” so that authors can’t overwrite one-another. In this case, the second author would see a message advising that the page was being edited already. “Advisory” means that the locks can be overridden if you have lower-level access to the database.

This version has been written to be compatible with a prior PHP implementation by Nathan Fraser, and may not yet take full advantage of Django features.

Testing

To test, first install the package into your virtualenv, ensuring that Django is also installed. Then run:

$ python manage.py test record_lock

Release History

0.2.1 (2015-08-04)

Initial release.

https://piwik.sturm.com.au/piwik.php?idsite=20&rec=1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_record_lock-0.2.1-py3-none-any.whl (8.1 kB) Copy SHA256 hash SHA256 Wheel py3 Aug 5, 2015
django-record-lock-0.2.1.tar.gz (5.7 kB) Copy SHA256 hash SHA256 Source None Aug 5, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page