Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.


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

$ python test record_lock

Release History

0.2.1 (2015-08-04)

Initial release.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_record_lock-0.2.1-py3-none-any.whl (8.1 kB) Copy SHA256 Checksum SHA256 py3 Wheel Aug 5, 2015
django-record-lock-0.2.1.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Aug 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting