Django-pglock

Latest version: v1.7.1

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

1.0.0

Api-Break

- Initial release of ``django-pglock`` [Wesley Kendall, 731e0cc]

``django-pglock`` performs advisory locks, table locks, and helps manage blocking locks.
Here's some of the functionality at a glance:

* ``pglock.advisory`` for application-level locking, for example, ensuring that tasks don't overlap.
* ``pglock.model`` for locking an entire model.
* ``pglock.timeout`` for dynamically setting the timeout to acquire a lock.
* ``pglock.prioritize`` to kill blocking locks for critical code, such as migrations.
* The ``PGLock`` and ``BlockedPGLock`` models for querying active and blocked locks.
* The ``pglock`` management command that wraps the models and provides other utilities.

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.