Skip to main content

DEPRECATED — consolidated into django-pgware. Context managers for PostgreSQL advisory locks in Django.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

django-pglocks

This package is deprecated. Its functionality has moved to django-pgware.

pip install django-pgware
# Old:
from django_pglocks import advisory_lock

# New (django-pgware installs as `django-pgware`, imports as `django_pg_utils`):
from django_pg_utils import advisory_lock

This package (2.1.0) is a final compatibility shim: it depends on django-pgware and re-exports advisory_lock/async_advisory_lock with a DeprecationWarning. It will not receive further updates.

Project details


Download files

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

Source Distribution

django_pglocks-2.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_pglocks-2.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file django_pglocks-2.1.0.tar.gz.

File metadata

  • Download URL: django_pglocks-2.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_pglocks-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a3d552682dc50c92a7bd0fe5f026e3e889758085d0894a301fe4437c57c9d64f
MD5 3a957bf7bd48a4518c2f8b92008d40e6
BLAKE2b-256 e7644aa45a3ed2700a6d85610412802f2ed2b8fc69d44435a40848ec05bb5916

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_pglocks-2.1.0.tar.gz:

Publisher: publish.yml on Xof/django-pglocks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_pglocks-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_pglocks-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_pglocks-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b89ca770647046e37faf81371290e63e36609925ac5eac040dda51afebe5d86f
MD5 ab2890fbf6103ba6a4c69fc4a5f4872e
BLAKE2b-256 e622270a612d34239b86af9a80a01d06d1ea2fac39b6c65bb176a2472efb58b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_pglocks-2.1.0-py3-none-any.whl:

Publisher: publish.yml on Xof/django-pglocks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page